explosion / spacy-stanza

💥 Use the latest Stanza (StanfordNLP) research models directly in spaCy
MIT License
726 stars 60 forks source link

Entry points for additional languages are required #56

Closed jcastanohiba closed 3 years ago

jcastanohiba commented 3 years ago

So far the only language specified in the entry points is English, if another language is required the entry points have to be manually modified. This is not nice. I suggest that the entry points, should have the languages available for stanza.

Relevant part of the code of setup.py, is line 37:

It states:

entry_points={"spacy_languages": ["stanza_en = spacy_stanza:StanzaLanguage"], the list should be like:

entry_points={"spacy_languages": ["stanza_en = spacy_stanza:StanzaLanguage", "stanza_es = spacy_stanza:StanzaLanguage", "stanza_pt"= spacy_stanza:StanzaLanguage",...]

adrianeboyd commented 3 years ago

Hi, this will be fixed in v0.2.5.