From aacaf1a0f04cb042ee1ad44adfbb597298fca9c5 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 8 Jan 2015 01:19:23 +1100 Subject: [PATCH] * Fix parser --- spacy/syntax/parser.pyx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spacy/syntax/parser.pyx b/spacy/syntax/parser.pyx index ab3fd89c5..245b2ff5f 100644 --- a/spacy/syntax/parser.pyx +++ b/spacy/syntax/parser.pyx @@ -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: