public class LeafAncestorEval
extends java.lang.Object
This implementation assumes that the guess/gold input files are of equal length, and have one tree per line.
TODO (spenceg): This implementation doesn't insert the "boundary symbols" as described by both Sampson and Clegg. Need to add those.
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.Integer> |
optionArgDefs |
Constructor and Description |
---|
LeafAncestorEval(java.lang.String str) |
Modifier and Type | Method and Description |
---|---|
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.
|