Merge pull request #1127 from bartbroere/master

Fixed a minor typo in the documentation
This commit is contained in:
Ines Montani 2017-06-13 13:15:20 +02:00 committed by GitHub
commit 9335736c20

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