mirror of https://github.com/explosion/spaCy.git
Fix infinite recursion in token.sent_start. Closes #1640
This commit is contained in:
parent
5cbe913b6f
commit
0cb090e526
|
@ -354,7 +354,7 @@ cdef class Token:
|
|||
if self.i == 0:
|
||||
return False
|
||||
else:
|
||||
return self.sent_start
|
||||
return self.c.sent_start
|
||||
|
||||
def __set__(self, value):
|
||||
self.is_sent_start = value
|
||||
|
|
Loading…
Reference in New Issue