From 1d4d3d0ecdc4e7ff9e249313428f96886dc64317 Mon Sep 17 00:00:00 2001 From: ines Date: Sat, 20 May 2017 01:38:04 +0200 Subject: [PATCH] Add TODO --- spacy/matcher.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/matcher.pyx b/spacy/matcher.pyx index 76c6a6cc7..c5bf70ce2 100644 --- a/spacy/matcher.pyx +++ b/spacy/matcher.pyx @@ -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):