mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 10:26:35 +03:00
71884d0942
Co-authored-by: explosion-bot <explosion-bot@users.noreply.github.com>
19 lines
408 B
Python
19 lines
408 B
Python
from ...language import Language, BaseDefaults
|
|
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
|
|
from .stop_words import STOP_WORDS
|
|
from .lex_attrs import LEX_ATTRS
|
|
|
|
|
|
class LatinDefaults(BaseDefaults):
|
|
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
|
|
stop_words = STOP_WORDS
|
|
lex_attr_getters = LEX_ATTRS
|
|
|
|
|
|
class Latin(Language):
|
|
lang = "la"
|
|
Defaults = LatinDefaults
|
|
|
|
|
|
__all__ = ["Latin"]
|