spaCy/spacy/matcher
Adriane Boyd fcce3600ed
Forbid OP matching 2+ tokens in DependencyMatcher (#6824)
Instead of silently using only the first token in each matched span:

* Forbid `OP: ?/*/+` through `DependencyMatcher` validation
* As a fail-safe, add warning if a token match that's not exactly one
token long is found by a token pattern.
2021-01-29 08:52:01 +08:00
..
__init__.py Drop Python 2.7 and 3.5 (#4828) 2019-12-22 01:53:56 +01:00
dependencymatcher.pyx Forbid OP matching 2+ tokens in DependencyMatcher (#6824) 2021-01-29 08:52:01 +08:00
matcher.pxd Merge remote-tracking branch 'upstream/master' into chore/update-develop-from-master 2020-11-25 11:49:34 +01:00
matcher.pyx Update develop from master for v3.0.0rc5 (#6811) 2021-01-26 14:52:45 +11:00
phrasematcher.pxd Tidy up compiler flags and imports (#5071) 2020-03-02 11:48:10 +01:00
phrasematcher.pyx Update develop from master for v3.0.0rc5 (#6811) 2021-01-26 14:52:45 +11:00