spaCy/spacy/tests/regression
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 Add __init__.py file for regression tests 2016-11-01 13:45:06 +01:00
_test_issue1622.py Tidy up regression tests 2019-02-08 15:51:13 +01:00
_test_issue2800.py Tidy up and format remaining files 2018-11-30 17:43:08 +01:00
test_issue1-1000.py 💫 Replace {Doc,Span}.merge with Doc.retokenize (#3280) 2019-02-15 10:29:44 +01:00
test_issue1001-1500.py 💫 Tidy up and auto-format tests (#2967) 2018-11-27 01:09:36 +01:00
test_issue1501-2000.py 💫 Replace {Doc,Span}.merge with Doc.retokenize (#3280) 2019-02-15 10:29:44 +01:00
test_issue1971.py 💫 Fix bugs in matcher extensions. Closes #1971 (#3301) 2019-02-20 21:30:39 +01:00
test_issue2001-2500.py 💫 Make handling of [Pipe].labels consistent (#3273) 2019-02-15 06:03:19 +11:00
test_issue2501-3000.py Tidy up regression tests 2019-02-08 15:51:13 +01:00
test_issue2833.py Also raise error in Span.__reduce__ 2019-02-13 13:22:05 +01:00
test_issue3009.py Tidy up and fix small bugs and typos 2019-02-08 14:14:49 +01:00
test_issue3012.py Tidy up and fix small bugs and typos 2019-02-08 14:14:49 +01:00
test_issue3199.py Only run noun chunks iterator in Span if available (closes #3199) 2019-02-08 18:33:16 +01:00
test_issue3209.py Tidy up and auto-format 2019-02-13 15:29:08 +01:00
test_issue3248.py Tidy up and auto-format 2019-02-13 15:29:08 +01:00
test_issue3277.py 💫 Add en/em dash to prefixes and suffixes (#3281) 2019-02-15 10:29:59 +01:00
test_issue3288.py Fix tensor shape in test for #3288 2019-02-18 11:01:54 +01:00
test_issue3289.py Add xfailing test for #3289 2019-02-18 16:45:04 +01:00