mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-06 06:30:35 +03:00
98ca14f577
WIP on removing goldparse Get ArcEager compiling after GoldParse excise Update setup.py Get spacy.syntax compiling after removing GoldParse Rename NewExample -> Example and clean up Clean html files Start updating tests Update Morphologizer
14 lines
387 B
Cython
14 lines
387 B
Cython
from cymem.cymem cimport Pool
|
|
|
|
from .stateclass cimport StateClass
|
|
from ..typedefs cimport weight_t, attr_t
|
|
from .transition_system cimport TransitionSystem, Transition
|
|
|
|
|
|
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
|