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

Overlapping results of entity-ruler recognizers are ignored #7

Open
langhabel opened this issue Jul 31, 2020 · 0 comments
Open

Overlapping results of entity-ruler recognizers are ignored #7

langhabel opened this issue Jul 31, 2020 · 0 comments

Comments

@langhabel
Copy link
Member

If two recognizers using the EntityRulerBackend identify the same (or overlapping) token/span as entity, only the first one to be identified is stored. This may give the wrong entity priority, i.e. the one that comes first in the pipeline and not the larger one or the one with the higher score. The reason behind this is the spaCy pipeline allowing tokens/spans to have at most one entity.

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

1 participant