ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tm...@apache.org
Subject svn commit: r1631591 - /ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfTemporalRelations_ImplBase.java
Date Mon, 13 Oct 2014 22:28:35 GMT
Author: tmill
Date: Mon Oct 13 22:28:35 2014
New Revision: 1631591

URL: http://svn.apache.org/r1631591
Log:
CTAKES-82: Make configuration parameters non-mandatory.

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

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfTemporalRelations_ImplBase.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfTemporalRelations_ImplBase.java?rev=1631591&r1=1631590&r2=1631591&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfTemporalRelations_ImplBase.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/EvaluationOfTemporalRelations_ImplBase.java
Mon Oct 13 22:28:35 2014
@@ -101,7 +101,7 @@ Evaluation_ImplBase<AnnotationStatistics
   public static class PreserveEventEventRelations extends JCasAnnotator_ImplBase {
     public static final String PARAM_GOLD_VIEW = "GoldView";
 
-    @ConfigurationParameter(name = PARAM_GOLD_VIEW)
+    @ConfigurationParameter(name = PARAM_GOLD_VIEW,mandatory=false)
     private String goldViewName = CAS.NAME_DEFAULT_SOFA;
 
     @Override
@@ -123,7 +123,7 @@ Evaluation_ImplBase<AnnotationStatistics
   public static class RemoveNonContainsRelations extends JCasAnnotator_ImplBase {
     public static final String PARAM_RELATION_VIEW = "RelationView";
 
-    @ConfigurationParameter(name = PARAM_RELATION_VIEW)
+    @ConfigurationParameter(name = PARAM_RELATION_VIEW,mandatory=false)
     private String relationViewName = CAS.NAME_DEFAULT_SOFA;
     @Override
     public void process(JCas jCas) throws AnalysisEngineProcessException {



Mime
View raw message