mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Use correct command in deprecated download command message
This commit is contained in:
parent
0dd7710556
commit
850650221a
|
@ -125,7 +125,7 @@ class ModelDownload():
|
|||
def load(self, lang):
|
||||
util.print_msg(
|
||||
"The spacy.{l}.download command is now deprecated. Please use "
|
||||
"spacy.download [model name or shortcut] instead. For more "
|
||||
"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),
|
||||
title="Warning: deprecated command")
|
||||
|
|
Loading…
Reference in New Issue
Block a user