Skip to content

Feature request: Support for English notes? #374

Description

@ruiouyangVA

Would it be difficult to adapt EDS-NLP for extracting custom named entities for clinical notes in English?
I would want a component along the lines of https://aphp.github.io/edsnlp/latest/pipes/ner/scores/charlson/.

(If this not a recommended idea let me know too -- and pointers in the right direction appreciated. Presumably I could build something off of medspacy)

What would need to be changed? I assume the tokenizers at

edsnlp/language.py
edsnlp/conjugator.py

And potentially the patterns at

/pipes/core/normalizer/pollution/patterns.py
/pipes/misc/consultation_dates/patterns.py
pipes/misc/dates/patterns/relative.py
/pipes/misc/dates/patterns/duration.py
/pipes/misc/dates/patterns/current.py
/pipes/misc/dates/patterns/absolute.py

/pipes/misc/quantities/patterns.py
/pipes/misc/reason/patterns.py
/pipes/misc/sections/patterns.py
/pipes/misc/tables/patterns.py 

/pipes/terminations.py

/pipes/qualifiers/negation/patterns.py
edsnlp/pipes/qualifiers/hypothesis/patterns.py ?
scripts/conjugate_verbs.py

As well as the resources at

edsnlp/resources/*(json|csv).gz

The code architecture is very clean and a lot of modifications (eg detecting sentence boundaries with newlines) make a lot of sense. Also I am one person and reinventing the wheel seems like a lot of work ...

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions