Fix infinite recursion in token.sent_start. Closes #1640

This commit is contained in:
Matthew Honnibal 2018-01-14 15:02:15 +01:00
parent 5cbe913b6f
commit 0cb090e526
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ cdef class Token:
if self.i == 0: if self.i == 0:
return False return False
else: else:
return self.sent_start return self.c.sent_start
def __set__(self, value): def __set__(self, value):
self.is_sent_start = value self.is_sent_start = value