mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	Fix typos and whitespace
This commit is contained in:
		
							parent
							
								
									bd1b0e396a
								
							
						
					
					
						commit
						0d5b142c78
					
				|  | @ -13,7 +13,6 @@ from .vocab cimport Vocab | |||
| from .tokens.doc cimport Doc | ||||
| from .tokens.doc cimport get_token_attr | ||||
| from .attrs cimport ID, attr_id_t, NULL_ATTR | ||||
| from .errors import Errors, TempErrors | ||||
| from .errors import Errors, TempErrors, Warnings, deprecation_warning | ||||
| 
 | ||||
| from .attrs import IDS | ||||
|  | @ -663,7 +662,7 @@ cdef class PhraseMatcher: | |||
|             for doc in stream: | ||||
|                 matches = self(doc) | ||||
|                 if return_matches: | ||||
|                     yield (doc, matches)  | ||||
|                     yield (doc, matches) | ||||
|                 else: | ||||
|                     yield doc | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user