mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 09:44:36 +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
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user