-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from TranslatorSRI/add-autocomplete-flag
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.
- Loading branch information
Showing
1 changed file
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters