You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by se...@apache.org on 2014/11/04 18:46:33 UTC

svn commit: r1636664 - /ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/cTakesHsql.xml

Author: seanfinan
Date: Tue Nov  4 17:46:33 2014
New Revision: 1636664

URL: http://svn.apache.org/r1636664
Log:
Added comments to help the user understand what may be interfering with dictionary database discovery.

Modified:
    ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/cTakesHsql.xml

Modified: ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/cTakesHsql.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/cTakesHsql.xml?rev=1636664&r1=1636663&r2=1636664&view=diff
==============================================================================
--- ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/cTakesHsql.xml (original)
+++ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/cTakesHsql.xml Tue Nov  4 17:46:33 2014
@@ -27,8 +27,14 @@
          <implementationName>org.apache.ctakes.dictionary.lookup2.dictionary.UmlsJdbcRareWordDictionary</implementationName>
          <properties>
             <property key="jdbcDriver" value="org.hsqldb.jdbcDriver"/>
+            <!-- urls for hsqldb memory connections must be file types in hsql 1.8.
+            These file urls must be either absolute path or relative to current working directory.
+            They cannot be based upon the classpath.
+            Though JdbcConnectionFactory will attempt to "find" a db based upon the parent dir of the url
+            for the sake of ide ease-of-use, the user should be aware of these hsql limitations.
+            -->
             <property key="jdbcUrl"
-                      value="jdbc:hsqldb:file:resources/org/apache/ctakes/dictionary/lookup/fast/ctakessnorx/ctakessnorx"/>
+                      value="jdbc:hsqldb:file:resources/org/apache/ctakes/dictionary/lookup/fast/ctakesnewsnorx/ctakesnewsnorx"/>
             <property key="jdbcUser" value="sa"/>
             <property key="jdbcPass" value=""/>
             <property key="rareWordTable" value="cui_terms"/>
@@ -47,11 +53,14 @@
          <properties>
             <property key="jdbcDriver" value="org.hsqldb.jdbcDriver"/>
             <property key="jdbcUrl"
-                      value="jdbc:hsqldb:file:resources/org/apache/ctakes/dictionary/lookup/fast/ctakessnorx/ctakessnorx"/>
+                      value="jdbc:hsqldb:file:resources/org/apache/ctakes/dictionary/lookup/fast/ctakesnewsnorx/ctakesnewsnorx"/>
             <property key="jdbcUser" value="sa"/>
             <property key="jdbcPass" value=""/>
             <property key="tuiTable" value="tui"/>
             <property key="prefTermTable" value="prefTerm"/>
+            <!-- Optional tables for optional term info.
+            Uncommenting these lines alone may not persist term information;
+            persistence depends upon the TermConsumer.  -->
             <!--<property key="snomedTable" value="snomedct"/>-->
             <!--<property key="rxNormTable" value="rxnorm"/>-->
             <!--<property key="icd9Table" value="icd9cm"/>-->
@@ -73,13 +82,15 @@
       </dictionaryConceptPair>
    </dictionaryConceptPairs>
 
-   <!-- PrecisionTermConsumer will only persist only the longest overlapping span of any semantic group -->
-   <!-- DefaultTermConsumer will persist all spans  -->
+   <!-- DefaultTermConsumer will persist all spans.
+   PrecisionTermConsumer will only persist only the longest overlapping span of any semantic group.
+   SemanticCleanupTermConsumer works as Precision** but also removes signs/sympoms contained within disease/disorder,
+    and (just in case) removes any s/s and d/d that are also (exactly) anatomical sites. -->
    <rareWordConsumer>
       <name>Term Consumer</name>
-      <!--<implementationName>org.apache.ctakes.dictionary.lookup2.consumer.MetaWsdTermConsumer</implementationName>-->
-      <!--<implementationName>org.apache.ctakes.dictionary.lookup2.consumer.PrecisionTermConsumer</implementationName>-->
       <implementationName>org.apache.ctakes.dictionary.lookup2.consumer.DefaultTermConsumer</implementationName>
+      <!--<implementationName>org.apache.ctakes.dictionary.lookup2.consumer.PrecisionTermConsumer</implementationName>-->
+      <!--<implementationName>org.apache.ctakes.dictionary.lookup2.consumer.SemanticCleanupTermConsumer</implementationName>-->
       <properties>
          <property key="codingScheme" value="cTakes"/>
       </properties>