Fix queue Python property in StateClass

This commit is contained in:
Matthew Honnibal 2016-10-16 17:04:41 +02:00
parent e8c8aa08ce
commit 274a4d4272

View File

@ -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) + ['_']