spaCy/spacy/lang/yo/__init__.py

17 lines
300 B
Python

from .stop_words import STOP_WORDS
from .lex_attrs import LEX_ATTRS
from ...language import Language
class YorubaDefaults(Language.Defaults):
lex_attr_getters = LEX_ATTRS
stop_words = STOP_WORDS
class Yoruba(Language):
lang = "yo"
Defaults = YorubaDefaults
__all__ = ["Yoruba"]