mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Rename about.__docs__ to about.__docs_models__
This commit is contained in:
parent
6e1dbc608e
commit
24e973b17f
|
@ -10,7 +10,7 @@ __author__ = 'Matthew Honnibal'
|
|||
__email__ = 'matt@explosion.ai'
|
||||
__license__ = 'MIT'
|
||||
|
||||
__docs__ = 'https://spacy.io/docs/usage'
|
||||
__docs_models__ = 'https://spacy.io/docs/usage'
|
||||
__download_url__ = 'https://github.com/explosion/spacy-models/releases/download'
|
||||
__compatibility__ = 'https://raw.githubusercontent.com/explosion/spacy-models/master/compatibility.json'
|
||||
__shortcuts__ = 'https://raw.githubusercontent.com/explosion/spacy-models/master/shortcuts.json'
|
||||
|
|
|
@ -79,5 +79,5 @@ def check_error_depr(model):
|
|||
"As of v1.7.0, the download all command is deprecated. Please "
|
||||
"download the models individually via spacy.download [model name] "
|
||||
"or pip install. For more info on this, see the documentation: "
|
||||
"{d}".format(d=about.__docs__),
|
||||
"{d}".format(d=about.__docs_models__),
|
||||
title="Deprecated command")
|
||||
|
|
|
@ -146,7 +146,7 @@ class ModelDownload():
|
|||
"The spacy.{l}.download command is now deprecated. Please use "
|
||||
"python -m spacy download [model name or shortcut] instead. For more "
|
||||
"info and available models, see the documentation: {d}. "
|
||||
"Downloading default '{l}' model now...".format(d=about.__docs__, l=lang),
|
||||
"Downloading default '{l}' model now...".format(d=about.__docs_models__, l=lang),
|
||||
title="Warning: deprecated command")
|
||||
download(lang)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user