1
1
mirror of https://github.com/explosion/spaCy.git synced 2025-03-29 22:34:13 +03:00
spaCy/spacy/tests/matcher
Adriane Boyd 31de700b0f
Fix on_match callback and remove empty patterns ()
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 2019-09-29 17:32:12 +02:00
test_matcher_api.py Fix on_match callback and remove empty patterns () 2020-11-05 09:16:26 +01:00
test_matcher_logic.py Implement new API for {Phrase}Matcher.add (backwards-compatible) () 2019-10-25 22:21:08 +02:00
test_pattern_validation.py Add warning when Matcher subpattern is discarded () 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