2020-03-25 13:28:12 +03:00
|
|
|
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_SUFFIXES
|
2019-07-08 11:25:22 +03:00
|
|
|
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
|
2019-02-14 17:31:19 +03:00
|
|
|
from .stop_words import STOP_WORDS
|
2019-07-08 11:25:22 +03:00
|
|
|
from .lex_attrs import LEX_ATTRS
|
2019-02-14 17:31:19 +03:00
|
|
|
from ...language import Language
|
2020-07-22 14:42:59 +03:00
|
|
|
|
|
|
|
|
|
|
|
class LithuanianDefaults(Language.Defaults):
|
2020-03-25 13:28:12 +03:00
|
|
|
infixes = TOKENIZER_INFIXES
|
|
|
|
suffixes = TOKENIZER_SUFFIXES
|
2020-07-22 23:18:46 +03:00
|
|
|
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
|
2020-07-24 15:50:26 +03:00
|
|
|
stop_words = STOP_WORDS
|
|
|
|
lex_attr_getters = LEX_ATTRS
|
2019-02-14 17:31:19 +03:00
|
|
|
|
|
|
|
|
|
|
|
class Lithuanian(Language):
|
|
|
|
lang = "lt"
|
|
|
|
Defaults = LithuanianDefaults
|
|
|
|
|
|
|
|
|
|
|
|
__all__ = ["Lithuanian"]
|