ines
d5a6a9a6a9
Use string values for attrs in Matcher docs
2017-05-22 13:54:45 +02:00
ines
e10c48210d
Update Matcher API and workflow to reflect new API
...
on_match is now the second positional argument, to easily allow a
variable number of patterns while keeping the method clean and readable.
2017-05-20 12:59:03 +02:00
ines
9edc7fb0ba
Update Matcher API docs
2017-05-20 12:27:22 +02:00
ines
5163a4513e
Update API docs
2017-05-20 01:43:48 +02:00
ines
784347160d
Rewrite rule-based matching workflow
2017-05-20 01:38:55 +02:00
Stefan Bunk
e972b2fa87
Fix error in matching documentation
...
LOWER and IS_PUNCT are members of `spacy` and not of the `Matcher` class.
2017-02-07 16:52:01 +01:00
Jason Kessler
9fa6f9fb40
Origin of spacy.matcher attributes
...
Make it clear that Matcher attributes live in spacy.matcher.attrs.
2017-01-16 13:31:35 -06:00
Guy Rosin
acdd2fc9a6
Tiny code typo
2016-12-31 14:53:05 +02:00
Matthew Honnibal
af953cf2e6
Merge pull request #620 from savkov/patch-1
...
Missing import statement for spacy.matcher.Matcher
2016-11-16 06:08:44 +11:00
Sasho Savkov
a8831a85e4
Added missing brackets & suggested import statmnt
...
There are two missing brackets on the `add_pattern` lines. I also suggest you include the `from spacy.tokens.doc import Doc` statement to make it easy for people to copy paste a working example.
2016-11-11 17:12:56 +00:00
Sasho Savkov
250879bb96
Missing import statement
...
It is useful to know where the Matcher class is if you haven't used it before. Or you are simply too lazy to remember, like me :)
FYI: some packages don't appear in the PyCharm autocompletion lists. `spacy.matcher` is one of them.
2016-11-11 12:04:08 +00:00
Ines Montani
7615b41bff
Update to new website
2016-10-31 19:04:15 +01:00