Fix matcher docs (resolves #1453)

This commit is contained in:
ines 2017-10-24 16:22:46 +02:00
parent 90601cf1b3
commit ebd2e5ff54

View File

@ -18,7 +18,7 @@ p Here's a minimal example. We first add a pattern that specifies three tokens:
p p
| Once we've added the pattern, we can use the #[code matcher] as a | Once we've added the pattern, we can use the #[code matcher] as a
| callable, to receive a list of #[code (ent_id, start, end)] tuples. | callable, to receive a list of #[code (ent_id, label, start, end)] tuples.
+code. +code.
from spacy.matcher import Matcher from spacy.matcher import Matcher