mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Fixes to edge features
This commit is contained in:
parent
7b125f5a86
commit
7ebfe4b983
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user