spaCy/spacy/tests/matcher
Ines Montani 483dddc9bc 💫 Add token match pattern validation via JSON schemas (#3244)
* Add custom MatchPatternError

* Improve validators and add validation option to Matcher

* Adjust formatting

* Never validate in Matcher within PhraseMatcher

If we do decide to make validate default to True, the PhraseMatcher's Matcher shouldn't ever validate. Here, we create the patterns automatically anyways (and it's currently unclear whether the validation has performance impacts at a very large scale).
2019-02-13 01:47:26 +11:00
..
__init__.py 💫 Refactor test suite (#2568) 2018-07-24 23:38:44 +02:00
test_matcher_api.py Add xfailing test for set value with operator [ci skip] 2019-02-06 13:40:11 +01:00
test_matcher_logic.py 💫 Tidy up and auto-format tests (#2967) 2018-11-27 01:09:36 +01:00
test_pattern_validation.py 💫 Add token match pattern validation via JSON schemas (#3244) 2019-02-13 01:47:26 +11:00
test_phrase_matcher.py Show warning if phrase pattern Doc was overprocessed (#3255) 2019-02-13 01:45:31 +11:00