mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	Fix typo (closes #1312)
This commit is contained in:
		
							parent
							
								
									456bb8a74c
								
							
						
					
					
						commit
						b8e81daccf
					
				|  | @ -282,7 +282,7 @@ p | ||||||
|         def __call__(self, text): |         def __call__(self, text): | ||||||
|             words = text.split(' ') |             words = text.split(' ') | ||||||
|             # All tokens 'own' a subsequent space character in this tokenizer |             # 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) |             return Doc(self.vocab, words=words, spaces=spaces) | ||||||
| 
 | 
 | ||||||
| p | p | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user