mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +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._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