mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
remove deprecated LOCAL_DATA_DIR
This commit is contained in:
parent
a8f4e49900
commit
470cdf5bf9
|
@ -1,7 +1,6 @@
|
||||||
import inventoryCount as mainModule
|
import inventoryCount as mainModule
|
||||||
import os
|
import os
|
||||||
from spacy.en import English, LOCAL_DATA_DIR
|
from spacy.en import English
|
||||||
data_dir = os.environ.get('SPACY_DATA', LOCAL_DATA_DIR)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -33,10 +33,6 @@ 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
Block a user