Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public void writeEval(final PrintStream out) throws EvalError {
   for (final Eval eval : evals) {
     eval.writeSummary(evalReportType, out, onlyLast);
     out.println();
   }
 }
Exemplo n.º 3
0
 public void addChunkerOutput(final String comment, final ChunkedSegmentedCorpus output)
     throws EvalError, CorpusError {
   if (evals.size() == 0) initParseEvaluationTypes();
   for (final Eval eval : evals) eval.eval(comment, output);
 }