gnames / gnparser

GNparser normalises scientific names and extracts their semantic elements.
MIT License
40 stars 5 forks source link

Recognizing Greek letters #60

Closed dimus closed 3 years ago

dimus commented 3 years ago

created by @mohamedabozeid at https://gitlab.com/gogna/gnparser/-/issues/60

When try to parse name "Aristotelia fruticosa var. δ. microphylla Hook.f." I get unparsed_tail: " var. δ. microphylla Hook.f.", but if I replaced δ. with alpha for example, I get the name parsed properly. I can replace the latin letter before parsing the name but I wonder if we can fix it from the parser itself

dimus commented 3 years ago

created by @dimus at https://gitlab.com/gogna/gnparser/-/issues/43

changed title from Recognizing {-latin-} letters to Recognizing {+Greek+} letters

dimus commented 3 years ago

created by @dimus at https://gitlab.com/gogna/gnparser/-/issues/44

Good catch. In modern nomenclature people do not enumerate infra-specific names with Greek letters anymore. So the correct parsing of this name, as I understand, would be:

Aristotelia fruticosa var. microphylla with level 2 warning: Deprecated Greek letter enumeration