edu.stanford.nlp.parser.metrics
Class EvalbByCat
java.lang.Object
edu.stanford.nlp.parser.metrics.AbstractEval
edu.stanford.nlp.parser.metrics.EvalbByCat
public class EvalbByCat
- extends AbstractEval
Computes labeled precision and recall (evalb) at the constituent category level.
- Author:
- Roger Levy, Spence Green
Methods inherited from class edu.stanford.nlp.parser.metrics.AbstractEval |
display, evaluate, evaluate, getEvalbF1, getEvalbF1Percent, getExact, getExactPercent, getLastF1, getNum, getSentAveF1, precision |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvalbByCat
public EvalbByCat(String str,
boolean runningAverages)
makeObjects
protected Set<Constituent> makeObjects(Tree tree)
- Specified by:
makeObjects
in class AbstractEval
evaluate
public void evaluate(Tree guess,
Tree gold,
PrintWriter pw)
- Overrides:
evaluate
in class AbstractEval
display
public void display(boolean verbose,
PrintWriter pw)
- Overrides:
display
in class AbstractEval
Stanford NLP Group