explosion / spaCy

💫 Industrial-strength Natural Language Processing (NLP) in Python

Home Page:https://spacy.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spacy.gold and spacy.morphology assumes that the 'SP' POS tags exists

Tpt opened this issue · comments

Spacy.gold and spacy.morphology both assumes that the 'SP' fine grain POS tag exists. It should be probably documented somewhere that the custom tag lists should include this POS tag.

An other possibility is to make Vocab and Tagger constructors automatically register it.

Your Environment

  • spaCy Version Used: 1.3

Agreed, thanks!

Fixed in the Morphology class, which I think should fix this elsewhere too.

commented

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.