mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
* Fix stateclass.queue
This commit is contained in:
parent
0ea08c4319
commit
0653288fa5
|
@ -42,7 +42,7 @@ cdef class StateClass:
|
|||
|
||||
@property
|
||||
def queue(self):
|
||||
return {self.B(i) for i in range(self._b_i, self.length)}
|
||||
return {self.B(i) for i in range(self._b_i)}
|
||||
|
||||
cdef int E(self, int i) nogil:
|
||||
if self._e_i <= 0 or self._e_i >= self.length:
|
||||
|
|
Loading…
Reference in New Issue
Block a user