spaCy/spacy/syntax/parser.pxd

17 lines
373 B
Cython
Raw Normal View History

from thinc.search cimport Beam
from .._ml cimport Model
from .arc_eager cimport TransitionSystem
2014-12-30 13:21:17 +03:00
from ..tokens cimport Tokens, TokenC
cdef class Parser:
2015-02-23 22:04:53 +03:00
cdef readonly object cfg
cdef readonly Model model
2015-02-23 22:04:53 +03:00
cdef readonly TransitionSystem moves
cdef int _greedy_parse(self, Tokens tokens) except -1
cdef int _beam_parse(self, Tokens tokens) except -1