Fix typo (closes #1312)

This commit is contained in:
Ines Montani 2017-09-14 12:49:59 +02:00 committed by GitHub
parent 456bb8a74c
commit b8e81daccf

View File

@ -282,7 +282,7 @@ p
def __call__(self, text):
words = text.split(' ')
# All tokens 'own' a subsequent space character in this tokenizer
spaces = [True] * len(word)
spaces = [True] * len(words)
return Doc(self.vocab, words=words, spaces=spaces)
p