Skip to content
Discussion options

You must be logged in to vote

It's not a bug. The labels come from the corpus each pipeline was trained on, and those corpora differ by language:

pipeline NER training data NER labels
en_core_web_* OntoNotes 5 18 labels: PERSON, ORG, GPE, DATE, PRODUCT, ...
de_core_news_sm/md/lg WikiNER PER, LOC, ORG, MISC
de_dep_news_trf TIGER only no ner component at all

That's also why de_dep_news_trf "doesn't work": its pipeline is transformer, tagger, morphologizer, parser, lemmatizer, attribute_ruler. The dep in the name means it has no NER. The German core pipelines are trained on WikiNER, which only has those four classes. "Jahr 2024" or "Edge" can only end up in MISC (see the sources listed for each model on htt…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cmahnke
Comment options

Answer selected by cmahnke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants