From 7ebfe4b983ce4e4f032d9006adea4e04b5878426 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 23 Jun 2015 16:32:54 +0200 Subject: [PATCH] * Fixes to edge features --- spacy/syntax/stateclass.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/syntax/stateclass.pyx b/spacy/syntax/stateclass.pyx index c206ae992..b2c789d02 100644 --- a/spacy/syntax/stateclass.pyx +++ b/spacy/syntax/stateclass.pyx @@ -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