spaCy/spacy/tests/matcher
Adriane Boyd 59340606b7
Add option to disable Matcher errors (#6125)
* Add option to disable Matcher errors

* Add option to disable Matcher errors when a doc doesn't contain a
particular type of annotation

Minor additional change:

* Update `AttributeRuler.load_from_morph_rules` to allow direct `MORPH`
values

* Rename suppress_errors to allow_missing

Co-authored-by: Matthew Honnibal <honnibal+gh@gmail.com>

* Refactor annotation checks in Matcher and PhraseMatcher

Co-authored-by: Matthew Honnibal <honnibal+gh@gmail.com>
2020-09-24 16:54:39 +02:00
..
__init__.py Revert #4334 2019-09-29 17:32:12 +02:00
test_dependency_matcher.py Tidy up tests and docs 2020-09-21 20:43:54 +02:00
test_matcher_api.py Add option to disable Matcher errors (#6125) 2020-09-24 16:54:39 +02: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 Tidy up tests and docs 2020-09-21 20:43:54 +02:00