mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Fix download script
This commit is contained in:
parent
a2bed49ac7
commit
6f9ebc2f34
|
@ -20,7 +20,7 @@ def download_file(url, out):
|
|||
return url.rsplit('/', 1)[1]
|
||||
|
||||
|
||||
def install_all_data(url, dest_dir):
|
||||
def install_data(url, dest_dir):
|
||||
filename = download_file(url, dest_dir)
|
||||
t = tarfile.open(path.join(dest_dir, filename))
|
||||
t.extractall(dest_dir)
|
||||
|
|
Loading…
Reference in New Issue
Block a user