mirror of https://github.com/explosion/spaCy.git
* Fix parts_of_speech now that symbols list has been reformed
This commit is contained in:
parent
37b909b6b6
commit
7b4af3d1e7
|
@ -1,24 +1,23 @@
|
||||||
from .symbols cimport *
|
from . cimport symbols
|
||||||
|
|
||||||
|
|
||||||
cpdef enum univ_pos_t:
|
cpdef enum univ_pos_t:
|
||||||
NO_TAG = NIL
|
NO_TAG = 0
|
||||||
ADJ = POS_adj
|
ADJ = symbols.ADJ
|
||||||
ADP = POS_adp
|
ADP
|
||||||
ADV = POS_adv
|
ADV
|
||||||
AUX = POS_aux
|
AUX
|
||||||
CONJ = POS_conj
|
CONJ
|
||||||
DET = POS_det
|
DET
|
||||||
INTJ = POS_intj
|
INTJ
|
||||||
NOUN = POS_noun
|
NOUN
|
||||||
NUM = POS_num
|
NUM
|
||||||
PART = POS_part
|
PART
|
||||||
PRON = POS_pron
|
PRON
|
||||||
PROPN = POS_propn
|
PROPN
|
||||||
PUNCT = POS_punct
|
PUNCT
|
||||||
SCONJ = POS_sconj
|
SCONJ
|
||||||
SYM = POS_sym
|
SYM
|
||||||
VERB = POS_verb
|
VERB
|
||||||
X = POS_x
|
X
|
||||||
EOL = POS_eol
|
EOL
|
||||||
SPACE = POS_space
|
SPACE
|
||||||
|
|
Loading…
Reference in New Issue