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.
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 ofdiabetes
). We handled this by expanding the search to({query}) OR ({query}*)
. This PR adds anautocomplete
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.