mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
Merge pull request #627 from sadovnychyi/patch-1
Remove duplicated line of vocab declaration
This commit is contained in:
commit
7afb2544a7
|
@ -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