mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +03:00
29 lines
475 B
Cython
29 lines
475 B
Cython
from __future__ import unicode_literals
|
|
|
|
|
|
IDS = {
|
|
"": NO_TAG,
|
|
"ADJ": ADJ,
|
|
"ADP": ADP,
|
|
"ADV": ADV,
|
|
"AUX": AUX,
|
|
"CONJ": CONJ,
|
|
"DET": DET,
|
|
"INTJ": INTJ,
|
|
"NOUN": NOUN,
|
|
"NUM": NUM,
|
|
"PART": PART,
|
|
"PRON": PRON,
|
|
"PROPN": PROPN,
|
|
"PUNCT": PUNCT,
|
|
"SCONJ": SCONJ,
|
|
"SYM": SYM,
|
|
"VERB": VERB,
|
|
"X": X,
|
|
"EOL": EOL,
|
|
"SPACE": SPACE
|
|
}
|
|
|
|
|
|
NAMES = [key for key, value in sorted(IDS.items(), key=lambda item: item[1])]
|