mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	revert line order
This commit is contained in:
		
							parent
							
								
									02c1bc03c8
								
							
						
					
					
						commit
						02d8d62053
					
				|  | @ -193,12 +193,12 @@ class SpanFinder(TrainablePipe): | |||
|         if min_length is None: | ||||
|             min_length = 1 | ||||
| 
 | ||||
|         self.min_length = min_length | ||||
|         self.max_length = max_length | ||||
|         if max_length < 1 or min_length < 1: | ||||
|             raise ValueError( | ||||
|                 Errors.E1052.format(min_length=min_length, max_length=max_length) | ||||
|             ) | ||||
|         self.min_length = min_length | ||||
|         self.max_length = max_length | ||||
|         self.predicted_key = predicted_key | ||||
|         self.training_key = training_key | ||||
|         self.model = model | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user