From d634038eb6a40a95a7371e6c24e03b2a8db301a6 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 29 Apr 2015 19:14:20 +0200 Subject: [PATCH] * Add l_edge and r_edge props in TokenC for tracking the parse-yield of the token --- spacy/structs.pxd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spacy/structs.pxd b/spacy/structs.pxd index 4892aa7b9..a423af8b0 100644 --- a/spacy/structs.pxd +++ b/spacy/structs.pxd @@ -59,8 +59,11 @@ cdef struct TokenC: int head int dep bint sent_end + uint32_t l_kids uint32_t r_kids + uint32_t l_edge + uint32_t r_edge int ent_iob int ent_type