medaCy icon indicating copy to clipboard operation
medaCy copied to clipboard

prevent subword annotations using existing medacy models

Open eniale88 opened this issue 6 years ago • 0 comments

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?

eniale88 avatar Oct 17 '19 09:10 eniale88