spaCy/spacy/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
dependencymatcher.pyx
matcher.pxd
matcher.pyx Add MORPH handling to Matcher (#6107) 2020-09-24 16:55:09 +02:00
phrasematcher.pxd
phrasematcher.pyx Add option to disable Matcher errors (#6125) 2020-09-24 16:54:39 +02:00