Make TokenC.sent_tart an int, to allow ternary value

This commit is contained in:
Matthew Honnibal 2017-10-08 19:58:54 +02:00
parent 92c5d78b42
commit 18063803de

View File

@ -61,13 +61,13 @@ cdef struct TokenC:
attr_t sense attr_t sense
int head int head
attr_t dep attr_t dep
bint sent_start
uint32_t l_kids uint32_t l_kids
uint32_t r_kids uint32_t r_kids
uint32_t l_edge uint32_t l_edge
uint32_t r_edge uint32_t r_edge
int sent_start
int ent_iob int ent_iob
attr_t ent_type # TODO: Is there a better way to do this? Multiple sources of truth.. attr_t ent_type # TODO: Is there a better way to do this? Multiple sources of truth..
hash_t ent_id hash_t ent_id