mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 10:46:29 +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
|
@property
|
||||||
def queue(self):
|
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):
|
def print_state(self, words):
|
||||||
words = list(words) + ['_']
|
words = list(words) + ['_']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user