Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diptera are usually flies #144

Open
bomeara opened this issue Aug 9, 2023 · 1 comment
Open

Diptera are usually flies #144

bomeara opened this issue Aug 9, 2023 · 1 comment

Comments

@bomeara
Copy link

bomeara commented Aug 9, 2023

Entering 'THE NEARCTIC SPECIES OF TENDIPEDINI - DIPTERA, TENDIPEDIDAE (= CHIRONOMIDAE)' via the API resolves Diptera (flies) as Saxifraga (a flower):

https://finder.globalnames.org/api/v1/find/THE%20NEARCTIC%20SPECIES%20OF%20TENDIPEDINI%20-%20DIPTERA%2C%20TENDIPEDIDAE%20%28%3D%20CHIRONOMIDAE%29?format=tsv&bytes_offset=false&return_content=false&unique_names=true&ambiguous_names=false&no_bayes=false&odds_details=false&language=eng&words_around=0&verification=true&all_matches=false

returns (see second row)

Index	Verbatim	Name	Start	End	OddsLog10	Cardinality	AnnotNomenType	WordsBefore	WordsAfter	VerifMatchType	VerifSortScore	VerifEditDistance	VerifMatchedName	VerifMatchedCanonical	VerifTaxonId	VerifDataSourceId	VerifDataSourceTitle	VerifClassificationPath	VerifError
0	TENDIPEDINI	Tendipedini	24	35	4.26	1	NO_ANNOT			Exact	9.41215	0	Tendipedini	Tendipedini	7TRP	1	Catalogue of Life	Biota|Animalia|Arthropoda|Insecta|Diptera|Chironomidae|Tendipedini	
1	DIPTERA,	Diptera	38	46	4.96	1	NO_ANNOT			Exact	9.41461	0	Diptera Borkh.	Diptera	5T8Z6	1	Catalogue of Life	Biota|Plantae|Tracheophyta|Magnoliopsida|Saxifragales|Saxifragaceae|Saxifraga	
2	TENDIPEDIDAE	Tendipedidae	47	59	5.13	1	NO_ANNOT			Exact	9.41286	0	Tendipedidae Grunberg, 1910	Tendipedidae	101087874	169	uBio NameBank		
3	CHIRONOMIDAE)	Chironomidae	63	76	5.13	1	NO_ANNOT			Exact	9.41426	0	Chironomidae Macquart, 1838	Chironomidae	urn:lsid:irmng.org:taxname:100204	181	IRMNG	Biota|Animalia|Arthropoda|Hexapoda|Insecta|Diptera|Chironomidae	

Homonyms are tough, but given the other words are for fly groups, it's odd it went with flowers rather than flies.

@dimus
Copy link
Member

dimus commented Aug 11, 2023

you are right @bomeara, homonyms are tricky, all_matches=true would return also matches to Diptera, but the result would be 'muddy'. I wonder if a solution would be to add a filter limiting results to certain higher taxon, in this case Animalia? Such option (tx:) exists for example in https://github.com/gnames/gnverifier#advanced-search-query-language

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants