1
1
mirror of https://github.com/explosion/spaCy.git synced 2025-03-31 15:24:13 +03:00
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