mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	* Fix variable naming in StepwiseState, for thinc 4.0
This commit is contained in:
		
							parent
							
								
									fc2185bfe3
								
							
						
					
					
						commit
						888c05a7fa
					
				| 
						 | 
				
			
			@ -151,7 +151,7 @@ cdef class StepwiseState:
 | 
			
		|||
        self.stcls = StateClass.init(doc.c, doc.length)
 | 
			
		||||
        self.parser.moves.initialize_state(self.stcls)
 | 
			
		||||
        self.eg = Example(self.parser.model.nr_class, CONTEXT_SIZE,
 | 
			
		||||
                          self.parser.model.nr_feat, self.parser.model.nr_embed)
 | 
			
		||||
                          self.parser.model.nr_templ, self.parser.model.nr_embed)
 | 
			
		||||
 | 
			
		||||
    def __enter__(self):
 | 
			
		||||
        return self
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user