mirror of https://github.com/explosion/spaCy.git
* Fix download script
This commit is contained in:
parent
6f9ebc2f34
commit
83a4df5a1a
|
@ -40,7 +40,7 @@ def install_dep_vectors(url, dest_dir):
|
|||
|
||||
def main():
|
||||
if not path.exists(DEST_DIR):
|
||||
install_sm_data(SM_DATA_DIR_URL, path.dirname(DEST_DIR))
|
||||
install_data(SM_DATA_DIR_URL, path.dirname(DEST_DIR))
|
||||
else:
|
||||
install_parser_model(PARSER_URL, DEST_DIR)
|
||||
install_dep_vectors(DEP_VECTORS_URL, path.join(DEST_DIR, 'vocab'))
|
||||
|
|
Loading…
Reference in New Issue