mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 12:20:20 +03:00
Parser does not have to be a cdef class anymore
This also fixes validation of the initialization schema.
This commit is contained in:
parent
4de76f0577
commit
fbe430a00f
|
@ -37,7 +37,7 @@ from .. import util
|
|||
NUMPY_OPS = NumpyOps()
|
||||
|
||||
|
||||
cdef class Parser(TrainablePipe):
|
||||
class Parser(TrainablePipe):
|
||||
"""
|
||||
Base class of the DependencyParser and EntityRecognizer.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user