|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.parser.lexparser.AbstractEval
public abstract class AbstractEval
A framework for Set-based precision/recall/F1 evaluation.
| Nested Class Summary | |
|---|---|
static class |
AbstractEval.CatErrorEval
This class counts which categories are over and underproposed in trees. |
static class |
AbstractEval.DependencyEval
CDM Mar 2004: This should be rewritten so as to root a word at an index position; otherwise it doesn't work correctly when you get two identical dependents (like with "I went to Greece to see the ruins"). |
static class |
AbstractEval.RuleErrorEval
|
static class |
AbstractEval.TaggingEval
|
| Field Summary | |
|---|---|
protected String |
str
|
| Constructor Summary | |
|---|---|
AbstractEval()
|
|
| Method Summary | |
|---|---|
void |
display(boolean verbose)
|
void |
display(boolean verbose,
PrintWriter pw)
|
void |
evaluate(Tree guess,
Tree gold)
|
void |
evaluate(Tree guess,
Tree gold,
PrintWriter pw)
|
double |
getEvalbF1()
|
double |
getSentAveF1()
|
protected double |
precision(Set s1,
Set s2)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String str
| Constructor Detail |
|---|
public AbstractEval()
| Method Detail |
|---|
public double getSentAveF1()
public double getEvalbF1()
protected double precision(Set s1,
Set s2)
public void evaluate(Tree guess,
Tree gold)
public void evaluate(Tree guess,
Tree gold,
PrintWriter pw)
public void display(boolean verbose)
public void display(boolean verbose,
PrintWriter pw)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||