From 445164d5b4688f15f91dc6189c3c5c75ebce1717 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 19 Jan 2016 02:54:56 +0100 Subject: [PATCH] * Restore the LOCAL_DATA_DIR global in spacy/en/__init__.py, although this is now deprecated --- spacy/en/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spacy/en/__init__.py b/spacy/en/__init__.py index 4187a4890..9317bfa2d 100644 --- a/spacy/en/__init__.py +++ b/spacy/en/__init__.py @@ -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'