EntityRuler label is always "ENTITY" -- how to set a custom one? #8476
Unanswered
DSLituiev
asked this question in
Help: Other Questions
Replies: 2 comments 3 replies
-
Looks like I was able to do what I want after switching from How does that happen? Is this feature (or idiosyncrasy) documented somewhere? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Another context issue I've encountered with this example: This example catches "brain" as an entity:
This example does not catch "brain" as an entity:
The two differ by one token, which is correctly parsed. What have gone wrong and how to debug this in general? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to add a rule-based named entity recognizer to my pipeline.
I see there is
Matcher
andEntityRuler
options. I couldn't get quite figure out what the difference is, but for now trying the latter one to obtain anORGAN
named entity and running into an issue that the"label"
attribute is getting ingored, and all matches are classified as "ENTITY":This affects the heart ENTITY , stomach ENTITY , and pancreas ENTITY only.
is there a way to change "ENTITY" to a custom NER label?
Beta Was this translation helpful? Give feedback.
All reactions