mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
* Add parts_of_speech.pyx
This commit is contained in:
parent
12b034e3ef
commit
5049d4c2e6
19
spacy/parts_of_speech.pyx
Normal file
19
spacy/parts_of_speech.pyx
Normal 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user