Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dutch tag map not updated with new models in spaCy v2.2 #4365

Closed
BLKSerene opened this issue Oct 3, 2019 · 2 comments
Closed

Dutch tag map not updated with new models in spaCy v2.2 #4365

BLKSerene opened this issue Oct 3, 2019 · 2 comments
Labels
bug Bugs and behaviour differing from documentation feat / tagger Feature: Part-of-speech tagger lang / nl Dutch language data and models

Comments

@BLKSerene
Copy link
Contributor

Hi, the tag map for the Dutch language hasn't been updated with new models in spaCy v2.2, so all universal POS tags become X.

>>> import spacy
>>> nlp = spacy.load('nl_core_news_sm')
>>> doc = nlp('Het Nederlands is een West-Germaanse taal en de moedertaal van de meeste inwoners van Nederland, België en Suriname.')

>>> for t in doc:
	print(t.tag_, t.pos_)

LID|bep|stan|evon X
N|eigen|ev|basis|onz|stan X
WW|pv|tgw|ev X
LID|onbep|stan|agr X
ADJ|prenom|basis|met-e|stan X
N|soort|ev|basis|zijd|stan X
VG|neven X
LID|bep|stan|rest X
N|soort|ev|basis|zijd|stan X
VZ|init X
LID|bep|stan|rest X
VNW|onbep|grad|stan|prenom|met-e|agr|sup X
N|soort|mv|basis X
VZ|init X
N|eigen|ev|basis|onz|stan X
LET X
N|eigen|ev|basis|onz|stan X
VG|neven X
N|eigen|ev|basis|onz|stan X
LET X
  • Operating System: Windows 10 x64
  • Python Version Used: 3.7.4 x64
  • spaCy Version Used: 2.2.0
@svlandeg svlandeg added feat / tagger Feature: Part-of-speech tagger lang / nl Dutch language data and models bug Bugs and behaviour differing from documentation labels Oct 3, 2019
@honnibal
Copy link
Member

honnibal commented Oct 3, 2019

Thanks! Just pushed an updated model for Dutch. If you do spacy download nl_core_news_sm it should get you v2.2.1 of the model, which should resolve the problem.

@ines ines closed this as completed Oct 3, 2019
@lock
Copy link

lock bot commented Nov 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bugs and behaviour differing from documentation feat / tagger Feature: Part-of-speech tagger lang / nl Dutch language data and models
Projects
None yet
Development

No branches or pull requests

4 participants