colonel.upostag module¶
Module providing the UposTag
enumeration.
-
class
colonel.upostag.
UposTag
[source]¶ Bases:
enum.Enum
Enumeration of Universal POS tags.
These tags mark the core part-of-speech categories according to the Universal Dependencies framework.
See also the
UPOS
field in the CoNLL-U format.Note: always refer to the name of each member; values are automatically generated and thus MUST be considered opaque.
-
ADJ
= 1¶ adjective
-
ADP
= 2¶ adposition
-
ADV
= 3¶ adverb
-
AUX
= 4¶ auxiliary
-
CCONJ
= 5¶ coordinating conjunction
-
DET
= 6¶ determiner
-
INTJ
= 7¶ interjection
-
NOUN
= 8¶ noun
-
NUM
= 9¶ numeral
-
PART
= 10¶ particle
-
PRON
= 11¶ pronoun
-
PROPN
= 12¶ proper noun
-
PUNCT
= 13¶ punctuation
-
SCONJ
= 14¶ subordinating conjunction
-
SYM
= 15¶ symbol
-
VERB
= 16¶ verb
-
X
= 17¶ other
-