2014-12-15 21:06:04 +00:00
|
|
|
from cymem.cymem cimport Pool
|
|
|
|
|
|
|
|
from thinc.typedefs cimport weight_t
|
|
|
|
|
2015-06-09 21:23:28 +00:00
|
|
|
from .stateclass cimport StateClass
|
|
|
|
|
2015-02-21 16:06:37 +00:00
|
|
|
from .transition_system cimport TransitionSystem, Transition
|
2015-06-11 23:50:23 +00:00
|
|
|
from ..gold cimport GoldParseC
|
|
|
|
|
2014-12-15 21:06:04 +00:00
|
|
|
|
2015-02-21 16:06:37 +00:00
|
|
|
cdef class ArcEager(TransitionSystem):
|
|
|
|
pass
|
2015-06-11 23:50:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
cdef int push_cost(StateClass stcls, const GoldParseC* gold, int target) nogil
|
|
|
|
cdef int arc_cost(StateClass stcls, const GoldParseC* gold, int head, int child) nogil
|
|
|
|
|