lasigeBioTM / MER

Minimal Named-Entity Recognizer (MER)
http://labs.fc.ul.pt/mer/
56 stars 8 forks source link

Wrong index when more than one white space between words #12

Closed LLCampos closed 7 years ago

LLCampos commented 7 years ago

When running:

bash get_entities.sh 1 A 'the potassium' HMDB_ChEMBL_ChEBI

We get:

1 A 4 13 0.54488 potassium unknown 1

But when we run the same command with two white spaces between "the" and "potassium" the result is exactly the same, but it shouldn't. The same happens for more than two whitespaces between words.

LLCampos commented 7 years ago

Fix of issue #18 causes this bug to reappear.