Don't try to pickle matcher.

This commit is contained in:
Matthew Honnibal 2016-10-17 16:38:40 +02:00
parent dbe60644ab
commit 97bd0c9d00
1 changed files with 0 additions and 3 deletions

View File

@ -194,9 +194,6 @@ cdef class Matcher:
for spec in specs:
self.add_pattern(entity_key, spec, label=etype)
def __reduce__(self):
return (self.__class__, (self.vocab, self._patterns), None, None)
property n_patterns:
def __get__(self): return self.patterns.size()