Skip to content
Discussion options

You must be logged in to vote

Hi!

Typically, I think the first NER will annotate what it can, and the second NER won't overwrite/change any of those predictions. In that sense, I'm a little puzzled by this sentence:

If we add both the two ner components in the pipeline, I see that currently it only keeps Trump Tower, which overlaps Trump.

NER components typically preserve existing annotations - so I would have expected that you get "Trump" from the first NER, and perhaps nothing, or just "Tower", from the second. Are you 100% sure that the first would have correctly recognized "Trump" if you run it in a pipeline by itself? Perhaps in this particular case, "Trump" simply wasn't recognized as an entity by the first NE…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@svlandeg
Comment options

@svlandeg
Comment options

@Pandalei97
Comment options

@svlandeg
Comment options

@Pandalei97
Comment options

Answer selected by svlandeg
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 feat / pipeline Feature: Processing pipeline and components
2 participants