prevent subword annotations using existing medacy models #61

Open
opened 2025-10-14 16:21:53 -06:00 by navan · 0 comments
Owner

Originally created by @eniale88 on 10/17/2019

I tested medacy_model_clinical_notes on clinical reports, and noticed that it produces some false positives when tagging on subword level.

For instance,
model.predict("Triggering abnormal complications")

results in

{'entities': {'T1': ('Drug', 11, 13, 'ab')}, 'relations': []}

How can subword-level tagging be prevented when using a medacy model?

*Originally created by @eniale88 on 10/17/2019* I tested **medacy_model_clinical_notes** on clinical reports, and noticed that it produces some false positives when tagging on subword level. For instance, `model.predict("Triggering abnormal complications")` results in `{'entities': {'T1': ('Drug', 11, 13, 'ab')}, 'relations': []}` How can subword-level tagging be prevented when using a medacy model?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/medaCy#61
No description provided.