Debugging False Positives on Matcher (Phrase and Dependency) #11528
-
I have a phrase matcher and a dependency matcher set up in my model. When I run my tests I'm seeing a false positive (a label assigned to a span that should not have been recognized). However, I have multiple patterns defined for each match ID.
Is there a simple way to debug which pattern of a given match_id is being matched by the dependency matcher or phrase matcher? As of now I can only see the match_id from the match, but cannot see any info about which pattern caused it. Any help is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
match_id
are processed using anAND
relationship: the presence of a match with a givenmatch_id
implies that all of the patterns have been matched.match_id
are processed using anOR
relationship, but it should be easy to work out which term matched by examining the results.