ojalaquellueva / TNRSapi

API wrapper for TNRS batch application
Other
4 stars 2 forks source link

Partial matches filtered relative to full name only, preventing partial matches from appearing in results #5

Closed ojalaquellueva closed 2 years ago

ojalaquellueva commented 3 years ago

At default match threshold (currently 0.53), the following misspelling of Ceiba pentandra returns no match:

Ceiba pintander (Overall Score=0.5)

Partial match "Ceiba" is not returned, despite being a perfect match to genus (Genus_score=1.0). "Ceiba" is returned only if match threshold is lowered to <=0.5.

Many TNRS use cases involved morphospecies. In such cases, users will be interested in good partial matches to higher taxon if a full match at the rank submitted is not found. By default, the TNRS should return partial matches where the partial match score is above the match threshold, not just matches at the same rank. The current behavior, where only Overall Score>=Match Threshold is allowed, should be made optional (e.g., option filtering="strict").

ojalaquellueva commented 2 years ago

Closed as duplicate of #7