* Fix variable naming in StepwiseState, for thinc 4.0

This commit is contained in:
Matthew Honnibal 2015-11-07 11:02:44 +11:00
parent fc2185bfe3
commit 888c05a7fa
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ cdef class StepwiseState:
self.stcls = StateClass.init(doc.c, doc.length)
self.parser.moves.initialize_state(self.stcls)
self.eg = Example(self.parser.model.nr_class, CONTEXT_SIZE,
self.parser.model.nr_feat, self.parser.model.nr_embed)
self.parser.model.nr_templ, self.parser.model.nr_embed)
def __enter__(self):
return self