TranslatorSRI / NameResolution

A service for finding CURIEs from lexical strings.
3 stars 2 forks source link

Add an `autocomplete` flag #118

Closed gaurav closed 7 months ago

gaurav commented 7 months ago

NameRes' /lookup endpoint was previously designed for the autocomplete use-case, where we expect to give good results even when the search term is incomplete (e.g. diab instead of diabetes). We handled this by expanding the search to ({query}) OR ({query}*). This PR adds an autocomplete flag that allows this expansion to be turned on and off -- this should help improve our accuracy when NameRes is used for named entity linking only.

Closes #108.