mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
* Merge changes in tokens.pyx
This commit is contained in:
parent
8cc3524dc9
commit
2e3dc3dfe2
|
@ -338,7 +338,6 @@ 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