* Restore the LOCAL_DATA_DIR global in spacy/en/__init__.py, although this is now deprecated

This commit is contained in:
Matthew Honnibal 2016-01-19 02:54:56 +01:00
parent 04177debd0
commit 445164d5b4
1 changed files with 5 additions and 0 deletions

View File

@ -32,6 +32,11 @@ 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'