GlobalNamesArchitecture / gnparser

Split scientific names to meaningful elements with meta information
https://parser.globalnames.org/
MIT License
20 stars 2 forks source link

#353: support pathovar. (pv.) rank #354

Closed alexander-myltsev closed 7 years ago

alexander-myltsev commented 7 years ago

fixes #353

@dimus please, check TODOs in test_data.txt

dimus commented 7 years ago

We need to decide what to do for cases like these (line 1555), we cannot really say bacteria: true or false in this case (bacteria false is a bit better I think)

SECTION: Bacteria genus homonym<

Actinomyces cardiffensis {"name_string_id":"fc1def53-81ba-5d2f-9f4c-0d9ac591cd13","parsed":true,"quality":1,"quality_warnings":[[1,"The genus is a homonym of a bacterial genus"]],"parser_version":"test_version","verbatim":"Actinomyces cardiffensis","normalized":"Actinomyces cardiffensis","canonical_name":{"value":"Actinomyces cardiffensis"},"hybrid":false,"surrogate":false,"virus":false,"bacteria":true,"details":[{"genus":{"value":"Actinomyces"},"specific_epithet":{"value":"cardiffensis"}}],"positions":[["genus",0,11],["specific_epithet",12,24]]} fc1def53-81ba-5d2f-9f4c-0d9ac591cd13|Actinomyces cardiffensis|Actinomyces cardiffensis|Actinomyces cardiffensis|||1

>