spaCy/spacy/matcher
Matthew Honnibal 0d1ca15b13 💫 Fix bugs in matcher extensions. Closes #1971 (#3301)
* 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
2019-02-20 21:30:39 +01:00
..
__init__.py Tidy up and fix small bugs and typos 2019-02-08 14:14:49 +01:00
_schemas.py 💫 Add token match pattern validation via JSON schemas (#3244) 2019-02-13 01:47:26 +11:00
dependencymatcher.pyx
matcher.pxd 💫 Add token match pattern validation via JSON schemas (#3244) 2019-02-13 01:47:26 +11:00
matcher.pyx 💫 Fix bugs in matcher extensions. Closes #1971 (#3301) 2019-02-20 21:30:39 +01:00
phrasematcher.pyx Fix PhraseMatcher pickling and length (resolves #3248) (#3252) 2019-02-12 18:27:54 +01:00