public class LeafAncestorEval extends 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 Map<String,Integer> |
optionArgDefs |
| Constructor and Description |
|---|
LeafAncestorEval(String str) |
| Modifier and Type | Method and Description |
|---|---|
void |
display(boolean verbose,
PrintWriter pw) |
void |
evaluate(Tree guess,
Tree gold,
PrintWriter pw) |
static void |
main(String[] args)
Execute with no arguments for usage.
|
public LeafAncestorEval(String str)
public void evaluate(Tree guess, Tree gold, PrintWriter pw)
public void display(boolean verbose,
PrintWriter pw)
public static void main(String[] args)