mirror of https://github.com/explosion/spaCy.git
* Fix bug in refactored init_transition
This commit is contained in:
parent
dd0867645d
commit
a2627b6102
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue