mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Add header for beam parser
This commit is contained in:
parent
4382f175b3
commit
6c4108c073
10
spacy/syntax/beam_parser.pxd
Normal file
10
spacy/syntax/beam_parser.pxd
Normal file
|
@ -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
Block a user