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
Describe the bug
biomedicus.negation.deepen doesn't connect the negation to a comma-based list of terms in a sentence. It only associates the negation with the first listed term.
Example:
"The patient denied a history of hypertension, diabetes, hypercholesterolemia, tobacco use, congestive heart failure, chest pain or syncopal episodes."
In this case it's only tying "patient denied" to "history of hypertension" and not the comma-separated list that follows.
To Reproduce
Run the pipeline including negation.deepen on a document with the above sentence.
Expected behavior
Each comma-separated term in the sentence would be tagged as negated.
Terminal Output
NA
Environment
OS:[e.g. Ubuntu 18.04
Version: 3.0b9
Python Version 3.6.9
Java Version OpenJDK 11
Additional context
NA
The text was updated successfully, but these errors were encountered:
The cause for this could be located in a couple layers, it may be a dependency parsing failure, or it might be a failure for the deepen negation affirmation to associate the trigger with the term via "conj - or" rule. I'll confirm what the cause is and if it's the second part, I may need to write a more robust solution for handling negations in long conjunction chains.
Describe the bug
biomedicus.negation.deepen doesn't connect the negation to a comma-based list of terms in a sentence. It only associates the negation with the first listed term.
Example:
"The patient denied a history of hypertension, diabetes, hypercholesterolemia, tobacco use, congestive heart failure, chest pain or syncopal episodes."
In this case it's only tying "patient denied" to "history of hypertension" and not the comma-separated list that follows.
To Reproduce
Run the pipeline including negation.deepen on a document with the above sentence.
Expected behavior
Each comma-separated term in the sentence would be tagged as negated.
Terminal Output
NA
Environment
Additional context
NA
The text was updated successfully, but these errors were encountered: