Skip to content

Rule based matching and thresholds / confidences ? #12054

Discussion options

You must be logged in to vote

In case anyone comes across this in the future, as @thomashacker explained above, two reasons you might see entities you weren't expecting after adding an entity ruler component are:

  • there are problems with the entity ruler patterns
  • the entity ruler has been added to a pipeline like en_core_web_sm that contains other components that also add entities (typically ner), so the entities in doc.ents don't all come from the new entity ruler component

The entity ruler patterns only support full 100% matches. There are no partial matches or confidence scores from the entity ruler or the underlying rule-based matcher.

If you are running into a similar problem, please open a new discussion thread…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@chillwinston
Comment options

@thomashacker
Comment options

Comment options

You must be logged in to vote
2 replies
@svlandeg
Comment options

@chillwinston
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by thomashacker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / matcher Feature: Token, phrase and dependency matcher
4 participants