* Update Constituent definition

This commit is contained in:
Matthew Honnibal 2015-05-20 16:03:26 +02:00
parent 9dfc9c039c
commit 8ee7c541f1

View File

@ -49,16 +49,18 @@ cdef struct Entity:
cdef struct Constituent: cdef struct Constituent:
int head const TokenC* head
int start const Constituent* parent
int end const Constituent* first
const Constituent* last
int label int label
bint on_stack int length
cdef struct TokenC: cdef struct TokenC:
const LexemeC* lex const LexemeC* lex
Morphology morph Morphology morph
const Constituent* ctnt
univ_pos_t pos univ_pos_t pos
int tag int tag
int idx int idx
@ -73,9 +75,6 @@ cdef struct TokenC:
uint32_t l_edge uint32_t l_edge
uint32_t r_edge uint32_t r_edge
int attach_order
int ctnt_label
int ent_iob int ent_iob
int ent_type int ent_type