OpenTreeOfLife / taxomachine

taxonomy graphdb
Other
7 stars 4 forks source link

TNRS result for 'Primates' has redundant match #71

Closed jar398 closed 9 years ago

jar398 commented 9 years ago

The matches list for Primates has two elements, but they are the same. The problem is that applications will assume that there's an ambiguity when there isn't.

{u'context': u'Mammals', u'governing_code': u'ICZN', u'includes_approximate_matches': False, u'includes_deprecated_taxa': False, u'includes_dubious_names': False, u'matched_name_ids': [u'Mammalia', u'Rodentia', u'Primates'], u'results': [{u'id': u'Mammalia', u'matches': [{u'flags': [u'EDITED'], u'is_approximate_match': False, u'is_deprecated': False, u'is_dubious': False, u'is_synonym': False, u'matched_name': u'Mammalia', u'matched_node_id': 3538050, u'nomenclature_code': u'ICZN', u'ot:ottId': 244265, u'ot:ottTaxonName': u'Mammalia', u'rank': u'', u'score': 1.0, u'search_string': u'mammalia', u'synonyms': [u'mammals', u'Xenostylus', u'Mammalia', u'Megahippus'], u'unique_name': u'Mammalia'}]}, {u'id': u'Rodentia', u'matches': [{u'flags': [u'EDITED'], u'is_approximate_match': False, u'is_deprecated': False, u'is_dubious': False, u'is_synonym': False, u'matched_name': u'Rodentia', u'matched_node_id': 3540790, u'nomenclature_code': u'ICZN', u'ot:ottId': 864593, u'ot:ottTaxonName': u'Rodentia', u'rank': u'', u'score': 1.0, u'search_string': u'rodentia', u'synonyms': [u'Rodentia', u'rodents'], u'unique_name': u'Rodentia'}]}, {u'id': u'Primates', u'matches': [{u'flags': [u'EDITED'], u'is_approximate_match': False, u'is_deprecated': False, u'is_dubious': False, u'is_synonym': False, u'matched_name': u'Primates', u'matched_node_id': 3551712, u'nomenclature_code': u'ICZN', u'ot:ottId': 913935, u'ot:ottTaxonName': u'Primates', u'rank': u'', u'score': 1.0, u'search_string': u'primates', u'synonyms': [u'primate', u'Primates', u'Primata', u'primates'], u'unique_name': u'Primates'}, {u'flags': [u'EDITED'], u'is_approximate_match': False, u'is_deprecated': False, u'is_dubious': False, u'is_synonym': True, u'matched_name': u'primates', u'matched_node_id': 3551712, u'nomenclature_code': u'ICZN', u'ot:ottId': 913935, u'ot:ottTaxonName': u'Primates', u'rank': u'', u'score': 1.0, u'search_string': u'primates', u'synonyms': [u'primate', u'Primates', u'Primata', u'primates'], u'unique_name': u'Primates'}]}], u'taxonomy': {u'author': u'open tree of life project', u'source': u'ott2.8', u'weburl': u'https://github.com/OpenTreeOfLife/opentree/wiki/Open-Tree-Taxonomy'}, u'unambiguous_name_ids': [u'Mammalia', u'Rodentia', u'Primates'], u'unmatched_name_ids': []}

jar398 commented 9 years ago

Duplicate of #73