spaCy/spacy/syntax/beam_parser.pxd
2017-05-06 14:22:20 +02:00

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