Commit Graph

7 Commits

Author SHA1 Message Date
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