Very minor documentation fix

This commit is contained in:
Bart Broere 2017-06-12 12:28:51 +02:00 committed by GitHub
parent 47aaecd974
commit e4a45ae55f

View File

@ -214,7 +214,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