mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
21 lines
524 B
Python
21 lines
524 B
Python
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
|
|
from .punctuation import TOKENIZER_PREFIXES, TOKENIZER_SUFFIXES, TOKENIZER_INFIXES
|
|
from .stop_words import STOP_WORDS
|
|
from ...language import Language
|
|
|
|
|
|
class BengaliDefaults(Language.Defaults):
|
|
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
|
|
prefixes = TOKENIZER_PREFIXES
|
|
suffixes = TOKENIZER_SUFFIXES
|
|
infixes = TOKENIZER_INFIXES
|
|
stop_words = STOP_WORDS
|
|
|
|
|
|
class Bengali(Language):
|
|
lang = "bn"
|
|
Defaults = BengaliDefaults
|
|
|
|
|
|
__all__ = ["Bengali"]
|