Merge pull request #627 from sadovnychyi/patch-1

Remove duplicated line of vocab declaration
This commit is contained in:
Matthew Honnibal 2016-11-16 06:09:18 +11:00 committed by GitHub
commit 7afb2544a7

View File

@ -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: