mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +03:00
8c1a23209f
* clean up of ner tests * beam_parser tests * implement get_beam_parses and scored_parses for the dep parser * we don't have to add the parse if there are no arcs
8 lines
211 B
Cython
8 lines
211 B
Cython
from ._state cimport StateC
|
|
from ...typedefs cimport weight_t, attr_t
|
|
from .transition_system cimport Transition, TransitionSystem
|
|
|
|
|
|
cdef class ArcEager(TransitionSystem):
|
|
cdef get_arcs(self, StateC* state)
|