mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-14 21:57:15 +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
|