spaCy/spacy/lang/bn/__init__.py

21 lines
524 B
Python
Raw Normal View History

2017-05-08 13:43:50 +00:00
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .punctuation import TOKENIZER_PREFIXES, TOKENIZER_SUFFIXES, TOKENIZER_INFIXES
from .stop_words import STOP_WORDS
2017-05-08 20:29:04 +00:00
from ...language import Language
2017-02-28 01:48:37 +00:00
class BengaliDefaults(Language.Defaults):
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
prefixes = TOKENIZER_PREFIXES
suffixes = TOKENIZER_SUFFIXES
infixes = TOKENIZER_INFIXES
stop_words = STOP_WORDS
2017-02-28 01:48:37 +00:00
2017-02-28 15:07:14 +00:00
class Bengali(Language):
lang = "bn"
Defaults = BengaliDefaults
2017-05-03 09:01:42 +00:00
2017-05-08 13:43:50 +00:00
__all__ = ["Bengali"]