mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-14 05:37:03 +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
|