This commit is contained in:
ines 2017-05-20 01:38:04 +02:00
parent fe5d8819ea
commit 1d4d3d0ecd

View File

@ -401,6 +401,7 @@ cdef class Matcher:
on_match = self._callbacks.get(ent_id)
if on_match is not None:
on_match(self, doc, i, matches)
# TODO: only return (match_id, start, end)
return matches
def pipe(self, docs, batch_size=1000, n_threads=2):