rafelafrance / traiter

Extract information from natural history annotations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

False positive in length extraction

tucotuco opened this issue · comments

There is a pattern that returns a false positive length measurement. An example record is CCBER Birds 18611 (http://pagodarose.vertnet-portal.appspot.com/o/ccber/birds?id=urn-catalog-ccber-birds-18611).

The dynamicProperties for the record contain:

"tail length in mm: -; total length in mm: -; wing chord in mm: 210; wing spread in mm: -"

The traiter detects a length measurement and assigns it 210, but the measurement is for a wing chord, while the total length is explicitly not recorded. Similar records with the total length recorded are interpreted correctly, such as CCBER Birds 6262 (http://pagodarose.vertnet-portal.appspot.com/o/ccber/birds?id=urn-catalog-ccber-birds-6262), which has the following for dynamicProperties:

"tail length in mm: 100; total length in mm: 478; wing chord in mm: -; wing spread in mm: -"

Same as Issue #7

commented

Fixed