* Fix variable naming in StepwiseState, for thinc 4.0

This commit is contained in:
Matthew Honnibal 2015-11-07 10:48:31 +11:00
parent 954442a807
commit fc2185bfe3
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.n_feats, self.parser.model.n_feats)
self.parser.model.nr_feat, self.parser.model.nr_embed)
def __enter__(self):
return self