2014-10-30 07:42:15 +03:00
|
|
|
from libc.stdint cimport uint16_t, uint32_t, uint64_t, uintptr_t
|
2014-12-10 00:09:32 +03:00
|
|
|
from libc.stdint cimport uint8_t
|
2014-09-18 01:10:32 +04:00
|
|
|
|
|
|
|
ctypedef uint64_t hash_t
|
|
|
|
ctypedef char* utf8_t
|
2014-12-03 03:06:31 +03:00
|
|
|
ctypedef uint32_t attr_t
|
|
|
|
ctypedef uint64_t flags_t
|
2014-10-30 07:42:15 +03:00
|
|
|
ctypedef uint32_t id_t
|
|
|
|
ctypedef uint16_t len_t
|
|
|
|
ctypedef uint16_t tag_t
|
2014-12-10 00:09:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
cdef struct Morphology:
|
|
|
|
uint8_t number
|
|
|
|
uint8_t tenspect # Tense/aspect/voice
|
|
|
|
uint8_t mood
|
|
|
|
uint8_t gender
|
|
|
|
uint8_t person
|
|
|
|
uint8_t case
|
|
|
|
uint8_t misc
|