You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "history" tag is activated even when the trigger comes after the entity but it's included in the phrase. It should be activated when the trigger is before the entity. Although, some typical exceptions are identified, for example:
asthme (atcd)
rhume : antécédent
I recommend also to check previous annotated datasets to identified other typical forms
Pipe name
It is suggested to rename the pipe to medical_history
Parameters
Expose the patterns and the sections to consider in the parameters of the class
History of the present illness
As suggested in #219 , the section histoire de la maladie doesn't fit exactly to the common definition of medical history.
I support the idea of stop considering this section as a default history section.
Although, I think that an example in the docs showing how to add this to the parameters if the user want would be nice.
Family medical history
Stop considering this section as a default history section.
Although, I think that an example in the docs showing how to add this to the parameters if the user want would be nice.
How to reproduce the bug
text="Il a été hospitalisé du xx/xx/xxxx au xx/xx/xxxx pour une DA avec un antécédent d'asthme il y a 25 jours."importedsnlpnlp=edsnlp.blank("eds")
# Sentencizer component, needed for negation detectionnlp.add_pipe("eds.sentences")
# normalizenlp.add_pipe("eds.normalizer")
# Matcher componentnlp.add_pipe("eds.matcher", config={"terms": {"da":["da"] ,"asthme":["asthme"]}, "attr":"NORM"})
# Detect sectionsnlp.add_pipe("eds.sections")
# historynlp.add_pipe(
"eds.history",
config=dict(
use_sections=True,
use_dates=False,explain=True
),
)
Your Environment
EDS-NLP Version Used: '0.13.0'
The text was updated successfully, but these errors were encountered:
Description
Several issues were detected.
Trigger
The "history" tag is activated even when the trigger comes after the entity but it's included in the phrase. It should be activated when the trigger is before the entity. Although, some typical exceptions are identified, for example:
asthme (atcd)
rhume : antécédent
I recommend also to check previous annotated datasets to identified other typical forms
Pipe name
It is suggested to rename the pipe to
medical_history
Parameters
Expose the patterns and the sections to consider in the parameters of the class
History of the present illness
As suggested in #219 , the section
histoire de la maladie
doesn't fit exactly to the common definition ofmedical history
.I support the idea of stop considering this section as a default
history
section.Although, I think that an example in the docs showing how to add this to the parameters if the user want would be nice.
Family medical history
Stop considering this section as a default
history
section.Although, I think that an example in the docs showing how to add this to the parameters if the user want would be nice.
How to reproduce the bug
Your Environment
The text was updated successfully, but these errors were encountered: