You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by pa...@apache.org on 2022/01/07 04:14:10 UTC
svn commit: r1896776 - in /ctakes/trunk/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/uima/annotators: negex_excluded_keys.txt negex_triggers.txt
Author: pabramowitsch
Date: Fri Jan 7 04:14:10 2022
New Revision: 1896776
URL: http://svn.apache.org/viewvc?rev=1896776&view=rev
Log:
Accompanies the revised Negex Annotator for better compound sentences and for speed
Added:
ctakes/trunk/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/uima/annotators/negex_excluded_keys.txt (with props)
Modified:
ctakes/trunk/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/uima/annotators/negex_triggers.txt
Added: ctakes/trunk/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/uima/annotators/negex_excluded_keys.txt
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/uima/annotators/negex_excluded_keys.txt?rev=1896776&view=auto
==============================================================================
--- ctakes/trunk/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/uima/annotators/negex_excluded_keys.txt (added)
+++ ctakes/trunk/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/uima/annotators/negex_excluded_keys.txt Fri Jan 7 04:14:10 2022
@@ -0,0 +1,42 @@
+# throwaway words that are common parts of
+# negex regular expressions but do not serve as
+# efficient lookups.
+# Good candidates are modifiers used in regular expressions where there's another version
+# or common words that could never stand alone as a negation trigger
+# the more words we can put here, the faster Negex will run
+# for example there are two regexes "absence of" and "free of" In the inverted lookup mechanism, there would be entries for
+# "of","absence","free" where "of" contained two regex expressions and triggered two attempts. By removing "of" using the list
+# below, we can get to the appropriate regex for a sentence with "absence of" or "free of" in the first hit.
+a
+an
+are
+as
+be
+been
+can
+change
+did
+for
+had
+has
+have
+her
+him
+if
+is
+know
+must
+new
+of
+out
+out
+patient
+patinet
+reveal
+see
+than
+the
+to
+was
+were
+with
Propchange: ctakes/trunk/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/uima/annotators/negex_excluded_keys.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: ctakes/trunk/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/uima/annotators/negex_triggers.txt
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/uima/annotators/negex_triggers.txt?rev=1896776&r1=1896775&r2=1896776&view=diff
==============================================================================
--- ctakes/trunk/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/uima/annotators/negex_triggers.txt (original)
+++ ctakes/trunk/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/uima/annotators/negex_triggers.txt Fri Jan 7 04:14:10 2022
@@ -172,6 +172,10 @@ have been ruled out [POST]
has been ruled out [POST]
is not demonstrated [POST]
have resolved [POST]
+is missing [POST]
+missing [POST]
+not found [POST]
+are missing [POST]
did not rule out [POSP]
not ruled out [POSP]
not been ruled out [POSP]
@@ -197,6 +201,9 @@ aside from [CONJ]
except [CONJ]
apart from [CONJ]
secondary to [CONJ]
+before [CONJ]
+after [CONJ]
+during [CONJ]
as the cause of [CONJ]
as the source of [CONJ]
as the reason of [CONJ]
@@ -275,3 +282,29 @@ origin for [CONJ]
origins of [CONJ]
origins for [CONJ]
other possibilities of [CONJ]
+: none [POST]
+: negative [POST]
+: no [POST]
+: missing [POST]
+normal [CONJ]
+per [CONJ]
+since [CONJ]
+contraindicates [CONJ]
+also [CONJ]
+never used [PREN]
+never used [POST]
+never observed [PREN]
+never observed [POST]
+no evidence for [PREN]
+negative [PREN]
+negative [POST]
+is negative [POST]
+were negative [POST]
+were all negative [POST]
+are all negative [POST]
+was negative [POST]
+are negative [POST]
+; [CONJ]
+not experienced [PREN]
+doesn't experience [PREN]
+doesn't feel [PREN]