mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Update matcher.pyx
This commit is contained in:
parent
842e21de9f
commit
50ad50f96a
|
@ -437,6 +437,9 @@ cdef class PhraseMatcher:
|
|||
self.matcher.add('Candidate', None, *abstract_patterns)
|
||||
self._callbacks = {}
|
||||
|
||||
def __len__(self):
|
||||
raise NotImplementedError
|
||||
|
||||
def __reduce__(self):
|
||||
return (self.__class__, (self.vocab,), None, None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user