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