Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlls committed Oct 13, 2024
1 parent 8f6c521 commit ab9d75a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
("I'll be excited.", "I will not be excited.", False),
("I will be excited.", "I won't be excited.", True),
("I will be excited.", "I will not be excited.", False),
("She's determined.", "She isn't determined.", True),
("She's determined.", "She is not determined.", False),
("She's excited.", "She isn't excited.", True),
("She's excited.", "She is not excited.", False),
("She is excited.", "She isn't excited.", True),
Expand Down Expand Up @@ -244,8 +242,6 @@
("I used to love hiking.", "I did not use to love hiking.", False),
("I really liked the food.", "I really didn't like the food.", True),
("I really liked the food.", "I really did not like the food.", False),
("A small Python module negating sentences.", "A small Python module not negating sentences.", False),
("A small Python module negating sentences.", "A small Python module not negating sentences.", True),
("A small Python module to negate sentences.", "A small Python module to not negate sentences.", False),
("A small Python module to negate sentences.", "A small Python module to not negate sentences.", True)
]
Expand Down Expand Up @@ -403,6 +399,8 @@
("I do.", "I do not.", False), # "do" classified as VERB instead of AUX.
("She does.", "She doesn't.", True), # "do" classified as VERB instead of AUX.
("She does.", "She does not.", False), # "do" classified as VERB instead of AUX.
("A small Python module negating sentences.", "A small Python module not negating sentences.", False),
("A small Python module negating sentences.", "A small Python module not negating sentences.", True),
# Connectors.
("It also prohibits or restricts the use of certain mechanisms.", "It also doesn't prohibit or restrict the use of certain mechanisms.", True),
# Boolean logic, e.g.: "prohibits AND restricts" -> "doesn't prohibit OR restrict"
Expand All @@ -413,4 +411,7 @@
("You ought not to do it.", "You ought to do it.", False),
("You ought to do it.", "You oughtn't do it.", True),
("You oughtn't do it.", "You ought to do it.", True),
# Ambiguous.
("She's determined.", "She isn't determined.", True),
("She's determined.", "She is not determined.", False),
]

0 comments on commit ab9d75a

Please sign in to comment.