2014-12-16 00:06:04 +03:00
|
|
|
from cymem.cymem cimport Pool
|
|
|
|
|
|
|
|
from thinc.typedefs cimport weight_t
|
|
|
|
|
2015-06-10 00:23:28 +03:00
|
|
|
from .stateclass cimport StateClass
|
|
|
|
|
2015-02-21 19:06:37 +03:00
|
|
|
from .transition_system cimport TransitionSystem, Transition
|
2015-06-12 02:50:23 +03:00
|
|
|
from ..gold cimport GoldParseC
|
|
|
|
|
2014-12-16 00:06:04 +03:00
|
|
|
|
2015-02-21 19:06:37 +03:00
|
|
|
cdef class ArcEager(TransitionSystem):
|
|
|
|
pass
|
2015-06-12 02:50:23 +03:00
|
|
|
|
|
|
|
|
2016-01-30 16:31:12 +03: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-12 02:50:23 +03:00
|
|
|
|