* Add parts_of_speech.pyx

This commit is contained in:
Matthew Honnibal 2015-01-25 16:32:26 +11:00
parent 12b034e3ef
commit 5049d4c2e6

19
spacy/parts_of_speech.pyx Normal file
View File

@ -0,0 +1,19 @@
from __future__ import unicode_literals
UNIV_POS_NAMES = {
"NO_TAG": NO_TAG,
"ADJ": ADJ,
"ADV": ADV,
"ADP": ADP,
"CONJ": CONJ,
"DET": DET,
"NOUN": NOUN,
"NUM": NUM,
"PRON": PRON,
"PRT": PRT,
"VERB": VERB,
"X": X,
"PUNCT": PUNCT,
"EOL": EOL
}