spaCy/spacy/tests/doc
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 Rename "tokens" tests to "doc" 2017-01-11 18:59:01 +01:00
test_add_entities.py Tidy up and format remaining files 2018-11-30 17:43:08 +01:00
test_array.py 💫 Tidy up and auto-format tests (#2967) 2018-11-27 01:09:36 +01:00
test_creation.py 💫 Tidy up and auto-format tests (#2967) 2018-11-27 01:09:36 +01:00
test_doc_api.py Make warning tests more explicit 2019-02-10 14:02:19 +01:00
test_pickle_doc.py Tidy up and format remaining files 2018-11-30 17:43:08 +01:00
test_span_merge.py Tidy up merge conflict leftovers 2018-12-18 13:58:30 +01:00
test_span.py Make warning tests more explicit 2019-02-10 14:02:19 +01:00
test_to_json.py 💫 Add token match pattern validation via JSON schemas (#3244) 2019-02-13 01:47:26 +11:00
test_token_api.py 💫 Tidy up and auto-format tests (#2967) 2018-11-27 01:09:36 +01:00
test_underscore.py Tidy up and format remaining files 2018-11-30 17:43:08 +01:00