spaCy/spacy/lang/da/__init__.py

24 lines
619 B
Python
Raw Normal View History

2017-05-10 19:15:12 +00:00
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_SUFFIXES
2017-05-10 19:15:12 +00:00
from .stop_words import STOP_WORDS
2017-07-03 13:45:31 +00:00
from .lex_attrs import LEX_ATTRS
from .syntax_iterators import SYNTAX_ITERATORS
2017-05-10 19:15:12 +00:00
from ...language import Language
class DanishDefaults(Language.Defaults):
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
infixes = TOKENIZER_INFIXES
suffixes = TOKENIZER_SUFFIXES
lex_attr_getters = LEX_ATTRS
stop_words = STOP_WORDS
syntax_iterators = SYNTAX_ITERATORS
2017-05-10 19:15:12 +00:00
class Danish(Language):
lang = "da"
Defaults = DanishDefaults
2017-05-10 19:15:12 +00:00
__all__ = ["Danish"]