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.
ruleris not the sameSpanRulerinstance that you have in your pipeline.SpanRulerdoesn't store its results inToken.ent_type_.A fixed version: