spaCy/spacy/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 Dependency tree pattern matcher (#3465) 2019-06-16 13:25:32 +02:00
_schemas.py Normalize IS_SENT_START to SENT_START for Matcher (#5080) 2020-03-03 12:22:39 +01:00
dependencymatcher.pyx Fix on_match callback and remove empty patterns (#6312) 2020-11-05 09:16:26 +01:00
matcher.pxd Identify final Matcher pattern node by quantifier (#6317) 2020-10-31 12:18:48 +01:00
matcher.pyx Identify final Matcher pattern node by quantifier (#6317) 2020-10-31 12:18:48 +01:00
phrasematcher.pxd Replace Entity/MatchStruct with SpanC (#4459) 2019-10-18 11:01:47 +02:00
phrasematcher.pyx Switch to new add API in PhraseMatcher unpickle 2020-05-25 11:22:47 +02:00