spaCy/spacy/tests/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 Revert #4334 2019-09-29 17:32:12 +02:00
test_dependency_matcher.py Forbid OP matching 2+ tokens in DependencyMatcher (#6824) 2021-01-29 08:52:01 +08:00
test_matcher_api.py Update develop from master for v3.0.0rc5 (#6811) 2021-01-26 14:52:45 +11:00
test_matcher_logic.py Tidy up and auto-format 2020-08-05 16:00:59 +02:00
test_pattern_validation.py Fix tests 2020-09-04 14:05:55 +02:00
test_phrase_matcher.py Update develop from master for v3.0.0rc5 (#6811) 2021-01-26 14:52:45 +11:00