From 6ca7f2eedc56dc1311baeb14d51c91448aebc85d Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 7 Feb 2015 11:32:33 -0500 Subject: [PATCH] * Upd download script --- spacy/en/download.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/spacy/en/download.py b/spacy/en/download.py index 45077ee2e..f730f32bd 100644 --- a/spacy/en/download.py +++ b/spacy/en/download.py @@ -6,14 +6,15 @@ import shutil import wget import plac +# TODO: Read this from the same source as the setup +VERSION = '0.5' -ALL_DATA_DIR_URL = 'http://s3-us-west-1.amazonaws.com/media.spacynlp.com/en_data_all-0.4.tgz' +AWS_STORE = 'http://s3-us-west-1.amazonaws.com/media.spacynlp.com' -SM_DATA_DIR_URL = 'http://s3-us-west-1.amazonaws.com/media.spacynlp.com/en_data_sm-0.4.tgz' +ALL_DATA_DIR_URL = '%s/en_data_all-%s.tgz' % (AWS_STORE, VERSION) -PARSER_URL = 'http://s3-us-west-1.amazonaws.com/media.spacynlp.com/en_deps-0.30.tgz' +SM_DATA_DIR_URL = '%s/en_data_sm-%s.tgz' % % (AWS_STORE, VERSION) -DEP_VECTORS_URL = 'http://s3-us-west-1.amazonaws.com/media.spacynlp.com/vec.bin' DEST_DIR = path.join(path.dirname(__file__), 'data')