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
|
2017-05-28 12:06:40 +00:00
|
|
|
from ..typedefs cimport attr_t
|
2015-06-09 21:23:28 +00:00
|
|
|
|
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
|
|
|
|
|
|
|
|
2016-01-30 13:31:12 +00:00
|
|
|
cdef weight_t push_cost(StateClass stcls, const GoldParseC* gold, int target) nogil
|
|
|
|
cdef weight_t arc_cost(StateClass stcls, const GoldParseC* gold, int head, int child) nogil
|
2015-06-11 23:50:23 +00:00
|
|
|
|