diff --git a/spacy/parts_of_speech.pxd b/spacy/parts_of_speech.pxd index 9fbdbd71f..c97673a69 100644 --- a/spacy/parts_of_speech.pxd +++ b/spacy/parts_of_speech.pxd @@ -1,24 +1,23 @@ -from .symbols cimport * - +from . cimport symbols cpdef enum univ_pos_t: - NO_TAG = NIL - ADJ = POS_adj - ADP = POS_adp - ADV = POS_adv - AUX = POS_aux - CONJ = POS_conj - DET = POS_det - INTJ = POS_intj - NOUN = POS_noun - NUM = POS_num - PART = POS_part - PRON = POS_pron - PROPN = POS_propn - PUNCT = POS_punct - SCONJ = POS_sconj - SYM = POS_sym - VERB = POS_verb - X = POS_x - EOL = POS_eol - SPACE = POS_space + NO_TAG = 0 + ADJ = symbols.ADJ + ADP + ADV + AUX + CONJ + DET + INTJ + NOUN + NUM + PART + PRON + PROPN + PUNCT + SCONJ + SYM + VERB + X + EOL + SPACE