Parser does not have to be a cdef class anymore

This also fixes validation of the initialization schema.
This commit is contained in:
Daniël de Kok 2022-09-27 11:31:13 +02:00
parent 4de76f0577
commit fbe430a00f

View File

@ -37,7 +37,7 @@ from .. import util
NUMPY_OPS = NumpyOps()
cdef class Parser(TrainablePipe):
class Parser(TrainablePipe):
"""
Base class of the DependencyParser and EntityRecognizer.
"""