ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tm...@apache.org
Subject svn commit: r1585773 - in /ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval: EvaluationOfClearTKRelations.java EvaluationOfEventProperties.java
Date Tue, 08 Apr 2014 16:20:06 GMT
Author: tmill
Date: Tue Apr  8 16:20:06 2014
New Revision: 1585773

URL: http://svn.apache.org/r1585773
Log:
CTAKES-82: Code cleanup in temporal project.

Modified:
    ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfClearTKRelations.java
    ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfEventProperties.java

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfClearTKRelations.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfClearTKRelations.java?rev=1585773&r1=1585772&r2=1585773&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfClearTKRelations.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfClearTKRelations.java
Tue Apr  8 16:20:06 2014
@@ -48,8 +48,8 @@ public class EvaluationOfClearTKRelation
    * @throws Exception 
    */
   static interface EvalOptions extends Options{
-    @Option(shortName="iee") boolean getIgnoreEventEvent();
-    @Option(shortName="iet") boolean getIgnoreEventTime();
+    @Option(longName="iee") boolean getIgnoreEventEvent();
+    @Option(longName="iet") boolean getIgnoreEventTime();
   }
   
   private boolean doEventEvent = true;

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfEventProperties.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfEventProperties.java?rev=1585773&r1=1585772&r2=1585773&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfEventProperties.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfEventProperties.java
Tue Apr  8 16:20:06 2014
@@ -120,7 +120,9 @@ public class EvaluationOfEventProperties
     aggregateBuilder.add(DocTimeRelAnnotator.createDataWriterDescription(
     		LIBSVMStringOutcomeDataWriter.class,
         new File(directory, DOC_TIME_REL)));
-    aggregateBuilder.add(ContextualModalityAnnotator.createDataWriterDescription(LIBSVMStringOutcomeDataWriter.class,
new File(directory, CONTEXTUAL_MODALITY)));
+    aggregateBuilder.add(ContextualModalityAnnotator.createDataWriterDescription(
+        LIBSVMStringOutcomeDataWriter.class, 
+        new File(directory, CONTEXTUAL_MODALITY)));
     SimplePipeline.runPipeline(collectionReader, aggregateBuilder.createAggregate());
     for(String propertyName : PROPERTY_NAMES){
       JarClassifierBuilder.trainAndPackage(new File(directory, propertyName), "-h","0","-c",
"1000");



Mime
View raw message