Add header for beam parser

This commit is contained in:
Matthew Honnibal 2017-03-11 12:45:12 -06:00
parent 4382f175b3
commit 6c4108c073
1 changed files with 10 additions and 0 deletions

View 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