mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Make regression test less sensitive to tag-map stuff
This commit is contained in:
parent
4e2f07a655
commit
22250cf6b7
|
@ -30,20 +30,20 @@ def test_issue3002():
|
|||
def test_issue3009(en_vocab):
|
||||
"""Test problem with matcher quantifiers"""
|
||||
patterns = [
|
||||
[{"LEMMA": "have"}, {"LOWER": "to"}, {"LOWER": "do"}, {"POS": "ADP"}],
|
||||
[{"LEMMA": "have"}, {"LOWER": "to"}, {"LOWER": "do"}, {"TAG": "IN"}],
|
||||
[
|
||||
{"LEMMA": "have"},
|
||||
{"IS_ASCII": True, "IS_PUNCT": False, "OP": "*"},
|
||||
{"LOWER": "to"},
|
||||
{"LOWER": "do"},
|
||||
{"POS": "ADP"},
|
||||
{"TAG": "IN"},
|
||||
],
|
||||
[
|
||||
{"LEMMA": "have"},
|
||||
{"IS_ASCII": True, "IS_PUNCT": False, "OP": "?"},
|
||||
{"LOWER": "to"},
|
||||
{"LOWER": "do"},
|
||||
{"POS": "ADP"},
|
||||
{"TAG": "IN"},
|
||||
],
|
||||
]
|
||||
words = ["also", "has", "to", "do", "with"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user