mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 02:16:32 +03:00
* Fix stateclass.queue
This commit is contained in:
parent
0ea08c4319
commit
0653288fa5
|
@ -42,7 +42,7 @@ cdef class StateClass:
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def queue(self):
|
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:
|
cdef int E(self, int i) nogil:
|
||||||
if self._e_i <= 0 or self._e_i >= self.length:
|
if self._e_i <= 0 or self._e_i >= self.length:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user