mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +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 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__':
|
||||
"""
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user