spaCy/spacy/th/language_data.py
Wannaphong Phatthiyaphaibun 44291f6697 add thai
2017-09-20 23:26:34 +07:00

25 lines
608 B
Python

# encoding: utf8
from __future__ import unicode_literals
# import base language data
from .. import language_data as base
# import util functions
from ..language_data import update_exc, strings_to_exc
# import language-specific data from files
#from .tag_map import TAG_MAP
from .tag_map import TAG_MAP
from .stop_words import STOP_WORDS
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
TAG_MAP = dict(TAG_MAP)
STOP_WORDS = set(STOP_WORDS)
TOKENIZER_EXCEPTIONS = dict(TOKENIZER_EXCEPTIONS)
# export __all__ = ["TAG_MAP", "STOP_WORDS"]
__all__ = ["TAG_MAP", "STOP_WORDS","TOKENIZER_EXCEPTIONS"]