mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 02:36:32 +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._callbacks = {}
|
||||||
self.vocab = vocab
|
self.vocab = vocab
|
||||||
self.mem = Pool()
|
self.mem = Pool()
|
||||||
self.vocab = vocab
|
|
||||||
for entity_key, (etype, attrs, specs) in sorted(patterns.items()):
|
for entity_key, (etype, attrs, specs) in sorted(patterns.items()):
|
||||||
self.add_entity(entity_key, attrs)
|
self.add_entity(entity_key, attrs)
|
||||||
for spec in specs:
|
for spec in specs:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user