* Fix variable naming in StepwiseState, for thinc 4.0

This commit is contained in:
Matthew Honnibal 2015-11-07 10:30:45 +11:00
parent 06f26d258e
commit 954442a807
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ cdef class StepwiseState:
self.doc = doc
self.stcls = StateClass.init(doc.c, doc.length)
self.parser.moves.initialize_state(self.stcls)
self.eg = Example(self.parser.model.n_classes, CONTEXT_SIZE,
self.eg = Example(self.parser.model.nr_class, CONTEXT_SIZE,
self.parser.model.n_feats, self.parser.model.n_feats)
def __enter__(self):