mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Remove duplicated line of vocab declaration
As already declared on line 211.
This commit is contained in:
parent
89df91846c
commit
e70a7050e1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user