Beispiel #1
0
 public void writeMetadata(final PrintStream s) {
   s.print("  Evaluation type: ");
   for (final Eval e : evals) s.print(e.getEvalName() + " ");
   s.println();
   s.println("  Test files:");
   for (final String f : corpusFiles) s.println("    " + f);
   if (filterLength > 0) s.println("  Filter test files by len: " + filterLength);
   //    if (numSent > 0)
   //      s.println("  Num test sentences: " + numSent);
   s.println("  Test file type: " + testFileType);
 }
Beispiel #2
0
 public void writeEval(final PrintStream out) throws EvalError {
   for (final Eval eval : evals) {
     eval.writeSummary(evalReportType, out, onlyLast);
     out.println();
   }
 }