Rule based matching and thresholds / confidences ? #12054
-
The concepts of "confidence", "score" and "threshold" don't appear to be covered within rule-based matching on this page: Issue:
Is there any mechanism to either:
Many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hello, The concepts you mentioned ( Could you give us more information about the patterns you've been using? Usually, in every pattern, each token should be represented by one dictionary. If you'd like to create a mechanism in which you use confidence scores from entities predicted by the SpanCategorizer component (the NER component doesn't provide any scores), you can create your own custom component. |
Beta Was this translation helpful? Give feedback.
-
Frankly, it appears that you're re-asking for the same information multiple times and only briefly reading both the original request and any responses I've given before giving a glib answer that fails to address any of the questions. This is moving at a glacial pace with absolutely zero headway due to this behaviour.
Our key question now is:
|
Beta Was this translation helpful? Give feedback.
-
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:
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. It's easiest for us to help if you can provide the details from |
Beta Was this translation helpful? Give feedback.
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:
en_core_web_sm
that contains other components that also add entities (typicallyner
), so the entities indoc.ents
don't all come from the new entity ruler componentThe 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…