edu.stanford.nlp.parser.metrics
Interface Eval

All Known Implementing Classes:
AbstractEval, AbstractEval.CatErrorEval, AbstractEval.RuleErrorEval, AbstractEval.ScoreEval

public interface Eval

An interface which can be implemented by anything that evaluates one tree at a time and then prints out a summary when done. This interface is convenient for eval types that do not want the p/r/f1 tools built in to AbstractEval.
BestOfTopKEval for a similar data type that works on multiple trees.

Author:
John Bauer

Method Summary
 void display(boolean verbose)
           
 void display(boolean verbose, java.io.PrintWriter pw)
           
 void evaluate(Tree guess, Tree gold)
           
 void evaluate(Tree guess, Tree gold, java.io.PrintWriter pw)
           
 void evaluate(Tree guess, Tree gold, java.io.PrintWriter pw, double weight)
           
 

Method Detail

evaluate

void evaluate(Tree guess,
              Tree gold)

evaluate

void evaluate(Tree guess,
              Tree gold,
              java.io.PrintWriter pw)

evaluate

void evaluate(Tree guess,
              Tree gold,
              java.io.PrintWriter pw,
              double weight)

display

void display(boolean verbose)

display

void display(boolean verbose,
             java.io.PrintWriter pw)


Stanford NLP Group