edu.stanford.nlp.parser.lexparser
Class AbstractEval
java.lang.Object
edu.stanford.nlp.parser.lexparser.AbstractEval
- Direct Known Subclasses:
- AbstractEval.CatErrorEval, AbstractEval.DependencyEval, AbstractEval.RuleErrorEval, AbstractEval.TaggingEval, LabeledConstituentEval
public abstract class AbstractEval
- extends Object
A framework for Set-based precision/recall/F1 evaluation.
- Author:
- Dan Klein
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
str
protected String str
AbstractEval
public AbstractEval()
getSentAveF1
public double getSentAveF1()
getEvalbF1
public double getEvalbF1()
precision
protected double precision(Set s1,
Set s2)
evaluate
public void evaluate(Tree guess,
Tree gold)
evaluate
public void evaluate(Tree guess,
Tree gold,
PrintWriter pw)
display
public void display(boolean verbose)
display
public void display(boolean verbose,
PrintWriter pw)
Stanford NLP Group