2019-08-05 08:22:27 +00:00
|
|
|
from .stop_words import STOP_WORDS
|
2019-08-22 09:43:07 +00:00
|
|
|
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
|
|
|
|
from .lex_attrs import LEX_ATTRS
|
2019-08-05 08:22:27 +00:00
|
|
|
from ...language import Language
|
|
|
|
|
|
|
|
|
|
|
|
class SerbianDefaults(Language.Defaults):
|
2020-07-22 20:18:46 +00:00
|
|
|
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
|
2020-07-24 12:50:26 +00:00
|
|
|
lex_attr_getters = LEX_ATTRS
|
|
|
|
stop_words = STOP_WORDS
|
2019-08-05 08:22:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Serbian(Language):
|
2019-08-21 17:57:37 +00:00
|
|
|
lang = "sr"
|
2019-08-05 08:22:27 +00:00
|
|
|
Defaults = SerbianDefaults
|
|
|
|
|
|
|
|
|
|
|
|
__all__ = ["Serbian"]
|