mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 02:16:32 +03:00
13 lines
274 B
Python
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
|