mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
ca491722ad
* moving syntax folder to _parser_internals * moving nn_parser and transition_system * move nn_parser and transition_system out of internals folder * moving nn_parser code into transition_system file * rename transition_system to transition_parser * moving parser_model and _state to ml * move _state back to internals * The Parser now inherits from Pipe! * small code fixes * removing unnecessary imports * remove link_vectors_to_models * transition_system to internals folder * little bit more cleanup * newlines
12 lines
357 B
Cython
12 lines
357 B
Cython
from .stateclass cimport StateClass
|
|
from ...typedefs cimport weight_t, attr_t
|
|
from .transition_system cimport Transition, TransitionSystem
|
|
|
|
|
|
cdef class ArcEager(TransitionSystem):
|
|
pass
|
|
|
|
|
|
cdef weight_t push_cost(StateClass stcls, const void* _gold, int target) nogil
|
|
cdef weight_t arc_cost(StateClass stcls, const void* _gold, int head, int child) nogil
|