From 0653288fa58c7904356c76b1c7cb5bbaa552c13d Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 9 Aug 2015 00:39:02 +0200 Subject: [PATCH] * Fix stateclass.queue --- spacy/syntax/stateclass.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/syntax/stateclass.pyx b/spacy/syntax/stateclass.pyx index d5d86594e..6f7951987 100644 --- a/spacy/syntax/stateclass.pyx +++ b/spacy/syntax/stateclass.pyx @@ -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: