mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
0d1ca15b13
* Fix matching on extension attrs and predicates * Fix detection of match_id when using extension attributes. The match ID is stored as the last entry in the pattern. We were checking for this with nr_attr == 0, which didn't account for extension attributes. * Fix handling of predicates. The wrong count was being passed through, so even patterns that didn't have a predicate were being checked. * Fix regex pattern * Fix matcher set value test |
||
---|---|---|
.. | ||
__init__.py | ||
test_matcher_api.py | ||
test_matcher_logic.py | ||
test_pattern_validation.py | ||
test_phrase_matcher.py |