Add tag map to cs language (#6284)

This commit is contained in:
Robert Šípek 2020-11-05 10:13:11 +01:00 committed by GitHub
parent 8644ee3e3f
commit 6069efe57d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4314 additions and 0 deletions

View File

@ -2,6 +2,7 @@
from __future__ import unicode_literals
from .stop_words import STOP_WORDS
from .tag_map import TAG_MAP
from ...language import Language
from ...attrs import LANG
from .lex_attrs import LEX_ATTRS
@ -11,6 +12,7 @@ class CzechDefaults(Language.Defaults):
lex_attr_getters = dict(Language.Defaults.lex_attr_getters)
lex_attr_getters.update(LEX_ATTRS)
lex_attr_getters[LANG] = lambda text: "cs"
tag_map = TAG_MAP
stop_words = STOP_WORDS

4312
spacy/lang/cs/tag_map.py Normal file

File diff suppressed because it is too large Load Diff