using entity ruler "id" ent_id field in trainable NER #8020
-
Can the ent_id_ field available to the entity ruler be passed to the NER? My current thinking is to start with a rules-based entity ruler to add to the pipe via a patterns.json file before using the trainable NER. I don't see a mention of the id attribute for NER in the docs. The id attribute as described for the entity ruler:
Docs with spans added to create the training data for the entity recognizer only reference the label, not the id field:
Is it possible to also include the "id "attribute in the training data to allow multiple patterns to be associated with the same entity in a trainable model? e.g.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No, the NER model has no way to interact with the IDs used by the EntityRuler. You might want to look at the EntityLinker. |
Beta Was this translation helpful? Give feedback.
No, the NER model has no way to interact with the IDs used by the EntityRuler. You might want to look at the EntityLinker.