mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-12 17:22:25 +03:00
* Fix variable naming in StepwiseState, for thinc 4.0
This commit is contained in:
parent
06f26d258e
commit
954442a807
|
@ -150,7 +150,7 @@ cdef class StepwiseState:
|
||||||
self.doc = doc
|
self.doc = doc
|
||||||
self.stcls = StateClass.init(doc.c, doc.length)
|
self.stcls = StateClass.init(doc.c, doc.length)
|
||||||
self.parser.moves.initialize_state(self.stcls)
|
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)
|
self.parser.model.n_feats, self.parser.model.n_feats)
|
||||||
|
|
||||||
def __enter__(self):
|
def __enter__(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user