mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Add comment re issue #3170
This commit is contained in:
parent
29fb7b4a16
commit
b449be0f04
|
@ -1001,6 +1001,8 @@ cdef int set_children_from_heads(TokenC* tokens, int length) except -1:
|
||||||
tokens[i].l_edge = i
|
tokens[i].l_edge = i
|
||||||
tokens[i].r_edge = i
|
tokens[i].r_edge = i
|
||||||
# Three times, for non-projectivity
|
# Three times, for non-projectivity
|
||||||
|
# See issue #3170. This isn't a very satisfying fix, but I think it's
|
||||||
|
# sufficient.
|
||||||
for loop_count in range(3):
|
for loop_count in range(3):
|
||||||
# Set left edges
|
# Set left edges
|
||||||
for i in range(length):
|
for i in range(length):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user