spaCy/spacy/lang/tl/__init__.py

19 lines
407 B
Python
Raw Normal View History

from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .stop_words import STOP_WORDS
from .lex_attrs import LEX_ATTRS
from ...language import Language
class TagalogDefaults(Language.Defaults):
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
lex_attr_getters = LEX_ATTRS
stop_words = STOP_WORDS
class Tagalog(Language):
2019-02-08 13:14:49 +00:00
lang = "tl"
Defaults = TagalogDefaults
2019-02-08 13:14:49 +00:00
__all__ = ["Tagalog"]