mirror of https://github.com/explosion/spaCy.git
Add header for beam parser
This commit is contained in:
parent
4382f175b3
commit
6c4108c073
|
@ -0,0 +1,10 @@
|
||||||
|
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
|
Loading…
Reference in New Issue