* Fix bug in refactored init_transition

This commit is contained in:
Matthew Honnibal 2015-06-03 06:01:26 +02:00
parent dd0867645d
commit a2627b6102
1 changed files with 2 additions and 0 deletions

View File

@ -118,8 +118,10 @@ cdef class ArcEager(TransitionSystem):
t.do = _do_right t.do = _do_right
t.get_cost = _right_cost t.get_cost = _right_cost
elif move == BREAK: elif move == BREAK:
t.do = _do_break
t.get_cost = _break_cost t.get_cost = _break_cost
elif move == CONSTITUENT: elif move == CONSTITUENT:
t.do = _do_constituent
t.get_cost = _constituent_cost t.get_cost = _constituent_cost
elif move == ADJUST: elif move == ADJUST:
t.do = _do_adjust t.do = _do_adjust