mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
* Fix download script
This commit is contained in:
parent
f0bbffca8d
commit
df52014d12
|
@ -15,6 +15,7 @@ DEST_DIR = path.join(path.dirname(__file__), 'tmp_data')
|
||||||
|
|
||||||
def download_file(url, out):
|
def download_file(url, out):
|
||||||
wget.download(url, out=out)
|
wget.download(url, out=out)
|
||||||
|
return url.rsplit('/', 1)[1]
|
||||||
|
|
||||||
|
|
||||||
def install_all_data(url, dest_dir):
|
def install_all_data(url, dest_dir):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user