diff --git a/spacy/syntax/parser.pyx b/spacy/syntax/parser.pyx index b5642a0a3..7d8a2ad2e 100644 --- a/spacy/syntax/parser.pyx +++ b/spacy/syntax/parser.pyx @@ -105,7 +105,6 @@ cdef class Parser: cdef Pool mem = Pool() cdef ExampleC eg = self.model.allocate(mem) - words = [t.text for t in tokens] while not stcls.is_final(): self.model.set_features(&eg, stcls) self.moves.set_valid(eg.is_valid, stcls)