mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* 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)
|
||||
|
||||
|
||||
# This is deprecated as of v100
|
||||
LOCAL_DATA_DIR = path.join(path.dirname(__file__), 'data')
|
||||
|
||||
|
||||
class English(Language):
|
||||
lang = 'en'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user