diff --git a/spacy/matcher.pyx b/spacy/matcher.pyx index 72a4a97d6..a45597b28 100644 --- a/spacy/matcher.pyx +++ b/spacy/matcher.pyx @@ -210,7 +210,6 @@ cdef class Matcher: self._callbacks = {} self.vocab = vocab self.mem = Pool() - self.vocab = vocab for entity_key, (etype, attrs, specs) in sorted(patterns.items()): self.add_entity(entity_key, attrs) for spec in specs: