spaCy/spacy/parts_of_speech.pyx

28 lines
434 B
Cython
Raw Permalink Normal View History

2015-01-25 08:32:26 +03:00
IDS = {
"": NO_TAG,
2015-01-25 08:32:26 +03:00
"ADJ": ADJ,
"ADP": ADP,
"ADV": ADV,
"AUX": AUX,
2017-10-27 22:07:59 +03:00
"CONJ": CONJ, # U20
"CCONJ": CCONJ,
2015-01-25 08:32:26 +03:00
"DET": DET,
"INTJ": INTJ,
2015-01-25 08:32:26 +03:00
"NOUN": NOUN,
"NUM": NUM,
"PART": PART,
2015-01-25 08:32:26 +03:00
"PRON": PRON,
"PROPN": PROPN,
"PUNCT": PUNCT,
"SCONJ": SCONJ,
"SYM": SYM,
2015-01-25 08:32:26 +03:00
"VERB": VERB,
"X": X,
"EOL": EOL,
"SPACE": SPACE
2015-01-25 08:32:26 +03:00
}
NAMES = {value: key for key, value in IDS.items()}