Meme Overlord
Meme Overlord

Reputation: 1037

Can you download NLTK data through Poetry?

I'm building an app that uses both NLTK and Spacy, and manages dependencies via Poetry. I'm able to download the Spacy data by adding this line to my pyproject.toml under [tool.poetry.dependencies]

en_core_web_sm = { url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.2.5/en_core_web_sm-2.2.5.tar.gz" }

Would it be possible to do something similar for the NLTK data? I'd rather have it all specified in one place instead of downloading it as part of some setup script

Upvotes: 6

Views: 4816

Answers (0)

Related Questions