mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
d4cc736b7c
* Go back to using requests instead of urllib (closes #2320)
Fewer dependencies are good, but this one was simply causing too many other problems around SSL verification and Python 2/3 compatibility. requests is a popular enough package that it's okay for spaCy to depend on it – and this will hopefully make model downloads less flakey.
* Only download model if not installed (see #1456)
Use #egg=model==version to allow pip to check for existing installations. The download is only started if no installation matching the package/version is found. Fixes a long-standing inconvenience.
* Pass additional options to pip when installing model (resolves #1456)
Treat all additional arguments passed to the download command as pip options to allow user to customise the command. For example:
python -m spacy download en --user
* Add CLI option to enable installing model package dependencies
* Revert "Add CLI option to enable installing model package dependencies"
This reverts commit
|
||
---|---|---|
.. | ||
_annotation | ||
_architecture | ||
_top-level | ||
_data.json | ||
annotation.jade | ||
cli.jade | ||
dependencyparser.jade | ||
doc.jade | ||
entityrecognizer.jade | ||
goldcorpus.jade | ||
goldparse.jade | ||
index.jade | ||
language.jade | ||
lemmatizer.jade | ||
lexeme.jade | ||
matcher.jade | ||
phrasematcher.jade | ||
pipe.jade | ||
span.jade | ||
stringstore.jade | ||
tagger.jade | ||
textcategorizer.jade | ||
token.jade | ||
tokenizer.jade | ||
top-level.jade | ||
vectors.jade | ||
vocab.jade |