Esempio 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);
 }
Esempio n. 2
0
 public void writeEval(final PrintStream out) throws EvalError {
   for (final Eval eval : evals) {
     eval.writeSummary(evalReportType, out, onlyLast);
     out.println();
   }
 }
Esempio 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);
 }