edu.stanford.nlp.parser.metrics
Class LeafAncestorEval
java.lang.Object
edu.stanford.nlp.parser.metrics.LeafAncestorEval
public class LeafAncestorEval
- extends java.lang.Object
Implementation of the Leaf Ancestor metric first described by Sampson and Babarczy (2003) and
later analyzed more completely by Clegg and Shepherd (2005).
- Author:
- Spence Green
Field Summary |
static java.util.Map<java.lang.String,java.lang.Integer> |
optionArgDefs
|
Method Summary |
void |
display(boolean verbose,
java.io.PrintWriter pw)
|
void |
evaluate(Tree guess,
Tree gold,
java.io.PrintWriter pw)
|
static void |
main(java.lang.String[] args)
Execute with no arguments for usage. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
optionArgDefs
public static final java.util.Map<java.lang.String,java.lang.Integer> optionArgDefs
LeafAncestorEval
public LeafAncestorEval(java.lang.String str)
evaluate
public void evaluate(Tree guess,
Tree gold,
java.io.PrintWriter pw)
display
public void display(boolean verbose,
java.io.PrintWriter pw)
main
public static void main(java.lang.String[] args)
- Execute with no arguments for usage.
Stanford NLP Group