mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
* Re-enable Break transition in arc_eager.pyx
This commit is contained in:
parent
cc579ed429
commit
69507bc729
|
@ -19,7 +19,7 @@ from .stateclass cimport StateClass
|
|||
|
||||
|
||||
DEF NON_MONOTONIC = True
|
||||
DEF USE_BREAK = False
|
||||
DEF USE_BREAK = True
|
||||
DEF USE_ROOT_ARC_SEGMENT = True
|
||||
|
||||
cdef weight_t MIN_SCORE = -90000
|
||||
|
@ -252,7 +252,7 @@ cdef class Break:
|
|||
@staticmethod
|
||||
cdef inline int move_cost(StateClass s, const GoldParseC* gold) nogil:
|
||||
cdef int cost = 0
|
||||
cdef int S_i, B_i
|
||||
cdef int i, j, S_i, B_i
|
||||
for i in range(s.stack_depth()):
|
||||
S_i = s.S(i)
|
||||
for j in range(s.buffer_length()):
|
||||
|
|
Loading…
Reference in New Issue
Block a user