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

Enable returning all NER results #120

Merged
merged 2 commits into from
Jul 26, 2023
Merged

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Jul 25, 2023

This PR adds an argument return_first to the NER annotation function. It is True by default to retain functionality where only the first match (either the most confident, or prioritized one in case of a tie) is returned. If set to False, then multiple matches for the same span will be returned.

@bgyori bgyori merged commit ddea0cc into gyorilab:master Jul 26, 2023
2 checks passed
@cthoyt cthoyt deleted the return-first branch July 26, 2023 13:30
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

Successfully merging this pull request may close these issues.

2 participants