spaCy/spacy/en/__init__.py
2015-08-26 19:15:07 +02:00

13 lines
274 B
Python

from __future__ import unicode_literals, print_function
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 LOCAL_DATA_DIR