spaCy/spacy/syntax/beam_parser.pxd

11 lines
290 B
Cython
Raw Normal View History

2017-03-11 21:45:12 +03:00
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