rafelafrance / traiter

Extract information from natural history annotations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spaces in length range pattern confound interpretation

tucotuco opened this issue · comments

For the input string "Total Length: 185 - 252 mm"

the output is lengthinmm:185 is_inferred:1 standard length type: "total length"

The expected output is lengthinmm:None is_inferred:0 standard length type: "total length range"

Apparently the spaces around the '-' confound the interpretation, since the input string "Total Length: 185-252 mm" is parsed correctly.

commented

seems like an easy(ish) fix. Will talk to Rafe about a possible update
heading into Fall...

On Wed, Aug 10, 2016 at 9:41 AM, John Wieczorek notifications@github.com
wrote:

For the input string "Total Length: 185 - 252 mm"

the output is lengthinmm:185 is_inferred:1 standard length type: "total
length"

The expected output is lengthinmm:None is_inferred:0 standard length type:
"total length range"

Apparently the spaces around the '-' confound the interpretation, since
the input string "Total Length: 185-252 mm" is parsed correctly.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#15, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcc7Lh_ryU6HSp-hwJL55T1LWUyy3Juks5qedURgaJpZM4JhJ69
.

commented

Fixed