* Fix parser

This commit is contained in:
Matthew Honnibal 2015-01-08 01:19:23 +11:00
parent 03a10e6cf2
commit aacaf1a0f0
1 changed files with 1 additions and 2 deletions

View File

@ -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: