2019-10-18 12:27:38 +03:00
|
|
|
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
|
2019-11-15 18:16:47 +03:00
|
|
|
from .punctuation import TOKENIZER_INFIXES
|
2019-10-14 13:27:50 +03:00
|
|
|
from .lex_attrs import LEX_ATTRS
|
|
|
|
from .stop_words import STOP_WORDS
|
|
|
|
from ...language import Language
|
|
|
|
|
|
|
|
|
|
|
|
class LuxembourgishDefaults(Language.Defaults):
|
2020-07-22 23:18:46 +03:00
|
|
|
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
|
2019-11-15 18:16:47 +03:00
|
|
|
infixes = TOKENIZER_INFIXES
|
2020-07-24 15:50:26 +03:00
|
|
|
lex_attr_getters = LEX_ATTRS
|
|
|
|
stop_words = STOP_WORDS
|
2019-10-18 12:27:38 +03:00
|
|
|
|
2019-10-14 13:27:50 +03:00
|
|
|
|
|
|
|
class Luxembourgish(Language):
|
2019-10-18 12:27:38 +03:00
|
|
|
lang = "lb"
|
2019-10-14 13:27:50 +03:00
|
|
|
Defaults = LuxembourgishDefaults
|
|
|
|
|
|
|
|
|
2019-10-18 12:27:38 +03:00
|
|
|
__all__ = ["Luxembourgish"]
|