Skip to content
Discussion options

You must be logged in to vote
  1. No, the NER model doesn't have a setting to overwrite entities, but it will preserve any existing entities, so you could reverse your pipeline to run the higher priority models first. The only complication is that the presence of existing entities can change the predictions to some degree (and especially if they're otherwise overlapping), so you want to check that the performance is what you expect. In particular, you can end up with partial entities because it predicts word by word. It can start predicting an entity a few words before it runs into an existing entity, and then it leaves the partial entity when it moves on to the next word. So it can predict something like B-PER I-PER B-…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / ner Feature: Named Entity Recognizer
2 participants
Converted from issue

This discussion was converted from issue #5262 on December 11, 2020 00:26.