* Fix whitespace_ calculation in Token

This commit is contained in:
Matthew Honnibal 2015-10-18 17:21:11 +11:00
parent c99285b8b9
commit 9839cd2c0b
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ cdef class Token:
property whitespace_: property whitespace_:
def __get__(self): def __get__(self):
return self.string[self.c.lex.length:] return ' ' if self.c.spacy else ''
property orth_: property orth_:
def __get__(self): def __get__(self):