ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevenbeth...@apache.org
Subject svn commit: r1424632 - /incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/EventAnnotator.java
Date Thu, 20 Dec 2012 18:48:37 GMT
Author: stevenbethard
Date: Thu Dec 20 18:48:37 2012
New Revision: 1424632

URL: http://svn.apache.org/viewvc?rev=1424632&view=rev
Log:
Minor cleanups to EventAnnotator.

Modified:
    incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/EventAnnotator.java

Modified: incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/EventAnnotator.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/EventAnnotator.java?rev=1424632&r1=1424631&r2=1424632&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/EventAnnotator.java
(original)
+++ incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/EventAnnotator.java
Thu Dec 20 18:48:37 2012
@@ -124,14 +124,14 @@ public class EventAnnotator extends Clea
         EventAnnotator.createFeatureSelectionURI(modelDirectory));
   }
 
-  protected SimpleFeatureExtractor tokenFeatureExtractor;
-
-  protected CleartkExtractor contextFeatureExtractor;
-
   private BIOChunking<BaseToken, EntityMention> entityChunking;
 
   private BIOChunking<BaseToken, EventMention> eventChunking;
 
+  protected SimpleFeatureExtractor tokenFeatureExtractor;
+
+  protected CleartkExtractor contextFeatureExtractor;
+
   private FeatureSelection<String> featureSelection;
 
   private static final String FEATURE_SELECTION_NAME = "SelectNeighborFeatures";
@@ -144,9 +144,6 @@ public class EventAnnotator extends Clea
     return new File(outputDirectoryName, FEATURE_SELECTION_NAME + "_Chi2_extractor.dat").toURI();
   }
 
-
-  // *****feature selection related parameters
-
   @Override
   public void initialize(UimaContext context) throws ResourceInitializationException {
     super.initialize(context);



Mime
View raw message