From c4d87543857c6f40e521c8ea93b0c5ebf920e565 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 26 Aug 2015 19:15:07 +0200 Subject: [PATCH] * Specify LOCAL_DATA_DIR global in spacy.en.__init__.py --- spacy/en/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacy/en/__init__.py b/spacy/en/__init__.py index ca19fb084..f68ff196e 100644 --- a/spacy/en/__init__.py +++ b/spacy/en/__init__.py @@ -4,8 +4,9 @@ from os import path from ..language import Language +LOCAL_DATA_DIR = path.join(path.dirname(__file__), 'data') class English(Language): @classmethod def default_data_dir(cls): - return path.join(path.dirname(__file__), 'data') + return LOCAL_DATA_DIR