From a2627b610206d5c69a6c70ad866a113b50834744 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 3 Jun 2015 06:01:26 +0200 Subject: [PATCH] * Fix bug in refactored init_transition --- spacy/syntax/arc_eager.pyx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spacy/syntax/arc_eager.pyx b/spacy/syntax/arc_eager.pyx index be5afa42d..dc7a96777 100644 --- a/spacy/syntax/arc_eager.pyx +++ b/spacy/syntax/arc_eager.pyx @@ -118,8 +118,10 @@ cdef class ArcEager(TransitionSystem): t.do = _do_right t.get_cost = _right_cost elif move == BREAK: + t.do = _do_break t.get_cost = _break_cost elif move == CONSTITUENT: + t.do = _do_constituent t.get_cost = _constituent_cost elif move == ADJUST: t.do = _do_adjust