Merge pull request #747 from JasonKessler/patch-1

Clarify Rule-Based Workflow Docs
This commit is contained in:
Ines Montani 2017-01-16 20:39:27 +01:00 committed by GitHub
commit 5909804a61
1 changed files with 3 additions and 1 deletions

View File

@ -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