mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 20:28:20 +03:00
17 lines
300 B
Python
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"]
|