mirror of https://github.com/explosion/spaCy.git
* Restore the LOCAL_DATA_DIR global in spacy/en/__init__.py, although this is now deprecated
This commit is contained in:
parent
04177debd0
commit
445164d5b4
|
@ -32,6 +32,11 @@ your yours yourself yourselves
|
||||||
"""
|
"""
|
||||||
STOPWORDS = set(w for w in STOPWORDS.split() if w)
|
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):
|
class English(Language):
|
||||||
lang = 'en'
|
lang = 'en'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue