From a06e3c89637c2d27f8ae2f04c71590d3f5ff0513 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 7 Nov 2015 07:35:28 +1100 Subject: [PATCH] * Fix bone-headed mistake in StateClass.E --- 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 1b15aec96..9603b6607 100644 --- a/spacy/syntax/stateclass.pyx +++ b/spacy/syntax/stateclass.pyx @@ -48,7 +48,7 @@ cdef class StateClass: return 0 if i < 0 or i >= self._e_i: return 0 - self._ents[self._e_i - (i+1)].start + return self._ents[self._e_i - (i+1)].start cdef int L(self, int i, int idx) nogil: if idx < 1: