remove deprecated LOCAL_DATA_DIR

This commit is contained in:
Henning Peters 2016-04-05 11:25:54 +02:00
parent a8f4e49900
commit 470cdf5bf9
2 changed files with 1 additions and 6 deletions

View File

@ -1,7 +1,6 @@
import inventoryCount as mainModule
import os
from spacy.en import English, LOCAL_DATA_DIR
data_dir = os.environ.get('SPACY_DATA', LOCAL_DATA_DIR)
from spacy.en import English
if __name__ == '__main__':
"""

View File

@ -33,10 +33,6 @@ your yours yourself yourselves
STOPWORDS = set(w for w in STOPWORDS.split() if w)
# This is deprecated as of v100
LOCAL_DATA_DIR = path.join(path.dirname(__file__), 'data')
class English(Language):
lang = 'en'