public void evaluate (Extraction extraction) { evaluate (extraction, System.out); }
public void testPerDocEval () { Extraction extraction = createExtractionFrom (testPred, testTrue); PerDocumentF1Evaluator eval = new PerDocumentF1Evaluator (); ByteArrayOutputStream out = new ByteArrayOutputStream (); eval.setErrorOutputStream (System.out); eval.evaluate ("Testing", extraction, new PrintWriter (new OutputStreamWriter (out), true)); String output = out.toString (); assertEquals (testAExpected, output); }
public void testPerDocEval () { Extraction extraction = createExtractionFrom (testPred, testTrue); PerDocumentF1Evaluator eval = new PerDocumentF1Evaluator (); ByteArrayOutputStream out = new ByteArrayOutputStream (); eval.setErrorOutputStream (System.out); eval.evaluate ("Testing", extraction, new PrintWriter (new OutputStreamWriter (out), true)); String output = out.toString (); assertEquals (testAExpected, output); }
public void evaluate (Extraction extraction) { evaluate (extraction, System.out); }
public void evaluate (Extraction extraction) { evaluate (extraction, System.out); }
public void evaluate (Extraction extraction, PrintWriter out) { evaluate ("", extraction, out); }
public void evaluate (Extraction extraction, PrintWriter out) { evaluate ("", extraction, out); }
public void evaluate (Extraction extraction, PrintWriter out) { evaluate ("", extraction, out); }
public void evaluate (Extraction extraction, PrintStream out) { evaluate ("", extraction, new PrintWriter (new OutputStreamWriter (out), true)); }
public void evaluate (Extraction extraction, PrintStream out) { evaluate ("", extraction, new PrintWriter (new OutputStreamWriter (out), true)); }
public void evaluate (Extraction extraction, PrintStream out) { evaluate ("", extraction, new PrintWriter (new OutputStreamWriter (out), true)); }