spaCy/spacy/tests/matcher
Adriane Boyd 31de700b0f
Fix on_match callback and remove empty patterns (#6312)
For the `DependencyMatcher`:

* Fix on_match callback so that it is called once per matched pattern
* Fix results so that patterns with empty match lists are not returned
2020-11-05 09:16:26 +01:00
..
__init__.py Revert #4334 2019-09-29 17:32:12 +02:00
test_matcher_api.py Fix on_match callback and remove empty patterns (#6312) 2020-11-05 09:16:26 +01:00
test_matcher_logic.py Implement new API for {Phrase}Matcher.add (backwards-compatible) (#4522) 2019-10-25 22:21:08 +02:00
test_pattern_validation.py Add warning when Matcher subpattern is discarded (#5873) 2020-08-05 14:56:14 +02:00
test_phrase_matcher.py Switch to new add API in PhraseMatcher unpickle 2020-05-25 11:22:47 +02:00