mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Fix queue Python property in StateClass
This commit is contained in:
		
							parent
							
								
									e8c8aa08ce
								
							
						
					
					
						commit
						274a4d4272
					
				| 
						 | 
				
			
			@ -21,7 +21,7 @@ cdef class StateClass:
 | 
			
		|||
 | 
			
		||||
    @property
 | 
			
		||||
    def queue(self):
 | 
			
		||||
        return {self.B(i) for i in range(self.c._b_i)}
 | 
			
		||||
        return {self.B(i) for i in range(self.c.buffer_length())}
 | 
			
		||||
 | 
			
		||||
    def print_state(self, words):
 | 
			
		||||
        words = list(words) + ['_']
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user