mirror of https://github.com/explosion/spaCy.git
* Fix parser
This commit is contained in:
parent
03a10e6cf2
commit
aacaf1a0f0
|
@ -63,8 +63,7 @@ cdef class GreedyParser:
|
|||
self.cfg = Config.read(model_dir, 'config')
|
||||
self.moves = TransitionSystem(self.cfg.left_labels, self.cfg.right_labels)
|
||||
hasty_templ, full_templ = get_templates(self.cfg.features)
|
||||
self.model = Model(self.moves.n_moves, hasty_templ, full_templ,
|
||||
model_dir)
|
||||
self.model = Model(self.moves.n_moves, full_templ, model_dir)
|
||||
|
||||
cpdef int parse(self, Tokens tokens) except -1:
|
||||
cdef:
|
||||
|
|
Loading…
Reference in New Issue