Will an EntityRuler label annotations affect the way a NER pipe checks if it's entities are right? #9803
-
Hi! As stated in the title, I'd like to better understand if having an EntityRuler will impact the performance of a NER pipe later in the pipeline. As always, thanks in advance for the help! You all do a great work at helping everyone at how to use this wonderful library! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can use an NER component and an EntityLinker in the same pipeline and the EntityLinker will not affect accuracy during training normally. Components can't see other components' annotations unless you explicitly make them annotating components. Given your description of the task, I would put the EntityLinker after the NER component and set it to overwrite. That said, given your description of your task, I'm still confused why you need an NER component at all - are there some times you don't want to label words? |
Beta Was this translation helpful? Give feedback.
You can use an NER component and an EntityLinker in the same pipeline and the EntityLinker will not affect accuracy during training normally. Components can't see other components' annotations unless you explicitly make them annotating components.
Given your description of the task, I would put the EntityLinker after the NER component and set it to overwrite. That said, given your description of your task, I'm still confused why you need an NER component at all - are there some times you don't want to label words?