Skip to content

Commit

Permalink
Changed unit test value to "Patient"
Browse files Browse the repository at this point in the history
  • Loading branch information
bramiozo committed Feb 13, 2024
1 parent b518016 commit 9fa8ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/qualifier/test_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def test_detect_qualifiers_small_window(self, nlp):
n(doc)

assert len(doc.ents) == 1
assert getattr(doc.ents[0]._, ATTR_QUALIFIERS_STR) == {"Experiencer.Other"}
assert getattr(doc.ents[0]._, ATTR_QUALIFIERS_STR) == {"Experiencer.Patient"}

def test_detect_qualifiers_referring_to_other(self, nlp):
n = ExperiencerTransformer(nlp=nlp, token_window=32, placeholder="X")
Expand Down

0 comments on commit 9fa8ef3

Please sign in to comment.