How to Dynamically Assign Entities with no model training #13091
-
Hello. Question: What's the best way to get Spacy to tag occurences of the acronym and/or definitions with the 'ACRO' or 'DEF' entity tag (token.ent_type_)? Simplest Best Practice Way: Reality Check: Much appreciation in advance
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi @grahamanderson! Do I understand correctly that ultimately you want all the entities recognized from spaCy's NER + your rule-based ones? The |
Beta Was this translation helpful? Give feedback.
ruler
is not the sameSpanRuler
instance that you have in your pipeline.SpanRuler
doesn't store its results inToken.ent_type_
.A fixed version: