mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +03:00
11 lines
290 B
Cython
11 lines
290 B
Cython
from .parser cimport Parser
|
|
from ..structs cimport TokenC
|
|
from thinc.typedefs cimport weight_t
|
|
|
|
|
|
cdef class BeamParser(Parser):
|
|
cdef public int beam_width
|
|
cdef public weight_t beam_density
|
|
|
|
cdef int _parseC(self, TokenC* tokens, int length, int nr_feat, int nr_class) except -1
|