* Fixes to edge features

This commit is contained in:
Matthew Honnibal 2015-06-23 16:32:54 +02:00
parent 7b125f5a86
commit 7ebfe4b983

View File

@ -193,6 +193,7 @@ cdef class StateClass:
cdef int i
if child > head:
self._sent[head].r_kids += 1
self._sent[head].r_edge = child
i = 0
while self.has_head(head) and i < self.length:
self._sent[head].r_edge = child