mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Make TokenC.sent_tart an int, to allow ternary value
This commit is contained in:
parent
92c5d78b42
commit
18063803de
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user