mirror of https://github.com/explosion/spaCy.git
Merge pull request #747 from JasonKessler/patch-1
Clarify Rule-Based Workflow Docs
This commit is contained in:
commit
5909804a61
|
@ -18,7 +18,9 @@ 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, start, end)] tuples.
|
||||
| Note that #[code LOWER] and #[code IS_PUNCT] are data attributes
|
||||
| of #[code Matcher.attrs].
|
||||
|
||||
+code.
|
||||
from spacy.matcher import Matcher
|
||||
|
|
Loading…
Reference in New Issue