public class EvalbByCat extends AbstractEval
AbstractEval.CatErrorEval, AbstractEval.RuleErrorEval, AbstractEval.ScoreEval
curF1, num, runningAverages, str
Constructor and Description |
---|
EvalbByCat(java.lang.String str,
boolean runningAverages) |
EvalbByCat(java.lang.String str,
boolean runningAverages,
java.lang.String labelRegex) |
Modifier and Type | Method and Description |
---|---|
void |
display(boolean verbose,
java.io.PrintWriter pw) |
void |
evaluate(Tree guess,
Tree gold,
java.io.PrintWriter pw) |
protected java.util.Set<Constituent> |
makeObjects(Tree tree) |
display, evaluate, evaluate, getEvalbF1, getEvalbF1Percent, getExact, getExactPercent, getLastF1, getNum, getSentAveF1, precision
public EvalbByCat(java.lang.String str, boolean runningAverages)
public EvalbByCat(java.lang.String str, boolean runningAverages, java.lang.String labelRegex)
protected java.util.Set<Constituent> makeObjects(Tree tree)
makeObjects
in class AbstractEval
public void evaluate(Tree guess, Tree gold, java.io.PrintWriter pw)
evaluate
in interface Eval
evaluate
in class AbstractEval
public void display(boolean verbose, java.io.PrintWriter pw)
display
in interface Eval
display
in class AbstractEval