incubator-opennlp-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject svn commit: r1159480 - /incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/DetailedFMeasureListener.java
Date Fri, 19 Aug 2011 02:16:13 GMT
Author: colen
Date: Fri Aug 19 02:16:13 2011
New Revision: 1159480

URL: http://svn.apache.org/viewvc?rev=1159480&view=rev
Log:
OPENNLP-256 improved report

Modified:
    incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/DetailedFMeasureListener.java

Modified: incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/DetailedFMeasureListener.java
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/DetailedFMeasureListener.java?rev=1159480&r1=1159479&r2=1159480&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/DetailedFMeasureListener.java
(original)
+++ incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/cmdline/DetailedFMeasureListener.java
Fri Aug 19 02:16:13 2011
@@ -87,7 +87,7 @@ public abstract class DetailedFMeasureLi
   }
 
   private static final String PERCENT = "%\u00207.2f%%";
-  private static final String FORMAT = "%8s: precision: " + PERCENT
+  private static final String FORMAT = "%12s: precision: " + PERCENT
       + ";  recall: " + PERCENT + "; F1: " + PERCENT + ".";
   private static final String FORMAT_EXTRA = FORMAT
       + " [target: %3d; tp: %3d; fp: %3d]";
@@ -97,7 +97,7 @@ public abstract class DetailedFMeasureLi
     StringBuilder ret = new StringBuilder();
     int tp = generalStats.getTruePositives();
     int found = generalStats.getFalsePositives() + tp;
-    ret.append("processed " + samples + " samples with "
+    ret.append("Evaluated " + samples + " samples with "
         + generalStats.getTarget() + " entities; found: " + found
         + " entities; correct: " + tp + ".\n");
 



Mime
View raw message