|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.parser.lexparser.AbstractEval
edu.stanford.nlp.parser.lexparser.LabeledConstituentEval
public class LabeledConstituentEval
Provides for Precision/Recall/F1 evaluation of labeled constituents.
Nested Class Summary | |
---|---|
static class |
LabeledConstituentEval.CBEval
|
Nested classes/interfaces inherited from class edu.stanford.nlp.parser.lexparser.AbstractEval |
---|
AbstractEval.CatErrorEval, AbstractEval.DependencyEval, AbstractEval.RuleErrorEval, AbstractEval.ScoreEval, AbstractEval.TaggingEval |
Field Summary |
---|
Fields inherited from class edu.stanford.nlp.parser.lexparser.AbstractEval |
---|
runningAverages, str |
Constructor Summary | |
---|---|
LabeledConstituentEval(String str,
boolean runningAverages,
TreebankLanguagePack tlp)
|
Method Summary | |
---|---|
void |
evaluate(Tree guess,
Tree gold,
PrintWriter pw)
|
static void |
main(String[] args)
|
protected Tree |
stripLeaves(Tree tree)
|
Methods inherited from class edu.stanford.nlp.parser.lexparser.AbstractEval |
---|
display, display, evaluate, getEvalbF1, getEvalbF1Percent, getExact, getExactPercent, getNum, getSentAveF1, precision |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabeledConstituentEval(String str, boolean runningAverages, TreebankLanguagePack tlp)
Method Detail |
---|
protected Tree stripLeaves(Tree tree)
public void evaluate(Tree guess, Tree gold, PrintWriter pw)
evaluate
in class AbstractEval
public static void main(String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |