Multiple overlapping results from EntityRuler #6050
rubmz
started this conversation in
New Features & Project Ideas
Replies: 2 comments
-
After looking into the implementation details of EntityRuler, seems better just use a Matcher with callback. But this feature still is required IMHO. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature description
When doing rule-based entity matching there's a need to score overlapping results and compare the best option based on various criteria. Problem is: EntityRuler overrides existing entities and won't give all the possible patterns that may match some span.
An even better option would be to supply a scoring function along with the patterns, taking the highest score as the winning match...
Guess this can be implemented as an external custom component or spaCy plugin.
Beta Was this translation helpful? Give feedback.
All reactions