mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +03:00
Fix matcher docs (resolves #1453)
This commit is contained in:
parent
90601cf1b3
commit
ebd2e5ff54
|
@ -18,7 +18,7 @@ p Here's a minimal example. We first add a pattern that specifies three tokens:
|
|||
|
||||
p
|
||||
| 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.
|
||||
from spacy.matcher import Matcher
|
||||
|
|
Loading…
Reference in New Issue
Block a user