ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seanfi...@apache.org
Subject svn commit: r1643952 - /ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/ae/AbstractJCasTermAnnotator.java
Date Mon, 08 Dec 2014 22:51:44 GMT
Author: seanfinan
Date: Mon Dec  8 22:51:44 2014
New Revision: 1643952

URL: http://svn.apache.org/r1643952
Log:
Got rid of "Please wait" message as it is more properly done in the code where Jdbc connections
are made.
Change LOGGER.debug started/done to LOGGER.info

Modified:
    ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/ae/AbstractJCasTermAnnotator.java

Modified: ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/ae/AbstractJCasTermAnnotator.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/ae/AbstractJCasTermAnnotator.java?rev=1643952&r1=1643951&r2=1643952&view=diff
==============================================================================
--- ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/ae/AbstractJCasTermAnnotator.java
(original)
+++ ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/ae/AbstractJCasTermAnnotator.java
Mon Dec  8 22:51:44 2014
@@ -99,8 +99,6 @@ abstract public class AbstractJCasTermAn
          if ( windowClassName == null || windowClassName.isEmpty() ) {
             windowClassName = DEFAULT_LOOKUP_WINDOW;
          }
-   	  LOGGER.info( "Default - Loading dictionary into memory.  Initial run may take few mins
to load. Please be patient...");
-   	  
          LOGGER.info( "Using dictionary lookup window type: " + windowClassName );
          _lookupWindowType = JCasUtil.getType( windowClassName );
          // optional exclusion POS tags
@@ -141,7 +139,7 @@ abstract public class AbstractJCasTermAn
     */
    @Override
    public void process( final JCas jcas ) throws AnalysisEngineProcessException {
-      LOGGER.debug( "Starting processing" );
+      LOGGER.info( "Starting processing" );
       final JFSIndexRepository indexes = jcas.getJFSIndexRepository();
       final AnnotationIndex<Annotation> lookupWindows = indexes.getAnnotationIndex(
_lookupWindowType );
       if ( lookupWindows == null ) {  // I don't trust AnnotationIndex.size(), so don't check
@@ -183,7 +181,7 @@ abstract public class AbstractJCasTermAn
          }
          _dictionarySpec.getConsumer().consumeHits( jcas, dictionary, textSpanCuis, allConceptsMap
);
       }
-      LOGGER.debug( "Finished processing" );
+      LOGGER.info( "Finished processing" );
    }
 
 



Mime
View raw message