You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As noted at #208 (comment), it's possible to install spaCy models to a custom path via sputnik.install, but looking at the code for en/download.py it seems that there's no way to specify a custom path when installing via python -m spacy.en.download.
It would be nice to have this feature, especially since download.py offers niceties like checking whether the model is already installed that sputnik.install doesn't do.
A syntax like python -m spacy.en.download --download-path=/path/to/download/model/to seems like it'd be ideal.
Btw, I've been trying to improve options for file loading more generally. There's some stuff in spacy.utils that isn't in the docs yet but might be relevant. Specifically, you should be able to set the default data path.
Activity
honnibal commentedon Nov 18, 2016
Sounds great. Do you want to make the pull request?
ExplodingCabbage commentedon Nov 18, 2016
Sure - I'll try to get round to it today, otherwise I'll put something together over the weekend.
honnibal commentedon Nov 18, 2016
Btw, I've been trying to improve options for file loading more generally. There's some stuff in spacy.utils that isn't in the docs yet but might be relevant. Specifically, you should be able to set the default data path.
Let --data-path be specified when running download.py scripts
lock commentedon May 9, 2018
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.