mirror of https://github.com/explosion/spaCy.git
Add docstring
This commit is contained in:
parent
68c04fa897
commit
16a63d9676
|
@ -14,6 +14,8 @@ from . import util
|
||||||
direct=("Force direct download", "flag", "d", bool)
|
direct=("Force direct download", "flag", "d", bool)
|
||||||
)
|
)
|
||||||
def download(model=None, direct=False):
|
def download(model=None, direct=False):
|
||||||
|
"""Download compatible model from default download path using pip."""
|
||||||
|
|
||||||
check_error_depr(model)
|
check_error_depr(model)
|
||||||
|
|
||||||
if direct:
|
if direct:
|
||||||
|
|
Loading…
Reference in New Issue