mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-15 18:52:29 +03:00
* Merge changes from stash
This commit is contained in:
parent
0ff078876a
commit
23c1f6fc04
|
@ -338,6 +338,7 @@ cdef class Token:
|
||||||
while ptr != self.c:
|
while ptr != self.c:
|
||||||
if ptr + ptr.head == self.c:
|
if ptr + ptr.head == self.c:
|
||||||
n += 1
|
n += 1
|
||||||
|
ptr += 1
|
||||||
return n
|
return n
|
||||||
|
|
||||||
property n_rights:
|
property n_rights:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user