From e70a7050e1a80c15de16dcdcd3d8104babd34b7c Mon Sep 17 00:00:00 2001 From: Dmytro Sadovnychyi Date: Sun, 13 Nov 2016 18:52:49 +0800 Subject: [PATCH] Remove duplicated line of vocab declaration As already declared on line 211. --- spacy/matcher.pyx | 1 - 1 file changed, 1 deletion(-) 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: