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

Prefer earlier spans in EntityRuler #5843

Merged

Conversation

adrianeboyd
Copy link
Contributor

@adrianeboyd adrianeboyd commented Jul 30, 2020

Description

Similar to #4414, update the sorting in EntityRuler to prefer the first span in overlapping spans.

Fixes #5840.

Types of change

Bug fix.

Checklist

  • I have submitted the spaCy Contributor Agreement.
  • I ran the tests, and all new and existing tests passed.
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

Similar to explosion#4414, update the sorting in EntityRuler to prefer the first
span in overlapping spans.
@adrianeboyd adrianeboyd added the bug Bugs and behaviour differing from documentation label Jul 30, 2020
@honnibal honnibal merged commit ac14ce7 into explosion:master Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs and behaviour differing from documentation
Projects
None yet
2 participants