mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-28 02:46:35 +03:00
25 lines
608 B
Python
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"] |