mirror of https://github.com/explosion/spaCy.git
Fix PhraseMatcher.__contains__
This commit is contained in:
parent
d02a41a8c9
commit
19c7c09bf7
|
@ -440,7 +440,7 @@ cdef class PhraseMatcher:
|
||||||
def __len__(self):
|
def __len__(self):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
def __contains__(self):
|
def __contains__(self, key):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
def __reduce__(self):
|
def __reduce__(self):
|
||||||
|
|
Loading…
Reference in New Issue