2014-10-30 04:42:15 +00:00
|
|
|
from libc.stdint cimport uint16_t, uint32_t, uint64_t, uintptr_t
|
2014-12-09 21:09:32 +00:00
|
|
|
from libc.stdint cimport uint8_t
|
2014-09-17 21:10:32 +00:00
|
|
|
|
2014-12-20 18:36:29 +00:00
|
|
|
|
|
|
|
# Google universal tag set
|
|
|
|
cpdef enum univ_tag_t:
|
|
|
|
NO_TAG
|
|
|
|
ADJ
|
|
|
|
ADV
|
|
|
|
ADP
|
|
|
|
CONJ
|
|
|
|
DET
|
|
|
|
NOUN
|
|
|
|
NUM
|
|
|
|
PRON
|
|
|
|
PRT
|
|
|
|
VERB
|
|
|
|
X
|
|
|
|
PUNCT
|
|
|
|
EOL
|
|
|
|
N_UNIV_TAGS
|
|
|
|
|
|
|
|
|
2014-09-17 21:10:32 +00:00
|
|
|
ctypedef uint64_t hash_t
|
|
|
|
ctypedef char* utf8_t
|
2014-12-03 00:06:31 +00:00
|
|
|
ctypedef uint32_t attr_t
|
|
|
|
ctypedef uint64_t flags_t
|
2014-10-30 04:42:15 +00:00
|
|
|
ctypedef uint32_t id_t
|
|
|
|
ctypedef uint16_t len_t
|
|
|
|
ctypedef uint16_t tag_t
|
2014-12-09 21:09:32 +00:00
|
|
|
|
|
|
|
|