spaCy/spacy/tests/matcher
Adriane Boyd 3c062b3911
Add MORPH handling to Matcher (#6107)
* Add MORPH handling to Matcher

* Add `MORPH` to `Matcher` schema
* Rename `_SetMemberPredicate` to `_SetPredicate`
* Add `ISSUBSET` and `ISSUPERSET` operators to `_SetPredicate`
  * Add special handling for normalization and conversion of morph
    values into sets
  * For other attrs, `ISSUBSET` acts like `IN` and `ISSUPERSET` only
    matches for 0 or 1 values

* Update test

* Rename to IS_SUBSET and IS_SUPERSET
2020-09-24 16:55:09 +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 MORPH handling to Matcher (#6107) 2020-09-24 16:55:09 +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