Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions GeneralNegEx.Java.v.1.2.05092009/negex_triggers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ not reveal [PREN]
not see [PREN]
not to be [PREN]
patient was not [PREN]
PRN for [PREN]
P.R.N. for [PREN]
rather than [PREN]
resolved [PREN]
test for [PREN]
Expand Down
4 changes: 4 additions & 0 deletions negex.python/Annotations-1-120.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2375,3 +2375,7 @@ Report No. Concept Sentence Negation
119 ABDOMEN: 1. NO FINDINGS TO SUGGEST FDG AVID MALIGNANCY NO FINDINGS TO SUGGEST FDG AVID MALIGNANCY. Affirmed
119 CIRRHOTIC MORPHOLOGY OF THE LIVER AND SMALL UPPER ABDOMINAL LYMPH NODES ARE LIKELY THE SEQUELA OF CHRONIC UNDERLYING LIVER DISEASE CIRRHOTIC MORPHOLOGY OF THE LIVER AND SMALL UPPER ABDOMINAL LYMPH NODES ARE LIKELY THE SEQUELA OF CHRONIC UNDERLYING LIVER DISEASE. Affirmed
119 PELVIS: NO FINDINGS TO SUGGEST FDG AVID MALIGNANCY PELVIS: NO FINDINGS TO SUGGEST FDG AVID MALIGNANCY. Affirmed
120 vomiting PRN for vomiting. Negated
120 vomiting prn for vomiting. Negated
120 vomiting P.R.N. for vomiting. Negated
120 vomiting P.R.N for vomiting. Negated
2 changes: 2 additions & 0 deletions negex.python/negex_triggers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ not reveal [PREN]
not see [PREN]
not to be [PREN]
patient was not [PREN]
PRN for [PREN]
P.R.N. for [PREN]
rather than [PREN]
resolved [PREN]
test for [PREN]
Expand Down
2 changes: 2 additions & 0 deletions pyConTextNLP/tags/06252012/src/pyConTextNLP/itemData.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ def extend(self,iterable):
super(itemData,self).extend(iterable)

probableNegations = itemData([
["PRN for","PROBABLE_NEGATED_EXISTENCE","","forward"],
["P.R.N. for","PROBABLE_NEGATED_EXISTENCE","","forward"],
["can rule out","PROBABLE_NEGATED_EXISTENCE","","forward"],
["cannot be excluded","PROBABLE_NEGATED_EXISTENCE",r"""(cannot|can\snot)\sbe\sexcluded""","backward"],
["is not excluded","PROBABLE_NEGATED_EXISTENCE",r"""(is|was|are|were)\snot\sexcluded""",'backward'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ def extend(self,iterable):


probableNegations = itemData(
["PRN for","PROBABLE_NEGATED_EXISTENCE","","forward"],
["P.R.N. for","PROBABLE_NEGATED_EXISTENCE","","forward"],
["can rule out","PROBABLE_NEGATED_EXISTENCE","","forward"],
["cannot be excluded","PROBABLE_NEGATED_EXISTENCE",r"""cannot\sbe\s((entirely|completely)\s)?(excluded|ruled out)""","backward"],
["is not excluded","PROBABLE_NEGATED_EXISTENCE",r"""(is|was|are|were)\snot\sexcluded""",'backward'],
Expand Down