Skip to content

prevent subword annotations using existing medacy models #153

@eniale88

Description

@eniale88

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions