diff --git a/spacy/syntax/parser.pxd b/spacy/syntax/parser.pxd index 2c3a106b3..1ad0ce729 100644 --- a/spacy/syntax/parser.pxd +++ b/spacy/syntax/parser.pxd @@ -13,6 +13,7 @@ from ._state cimport StateC cdef class ParserModel(AveragedPerceptron): cdef void set_featuresC(self, ExampleC* eg, const StateC* state) nogil + cdef class Parser: cdef readonly Vocab vocab cdef readonly ParserModel model