parsing from the Java binding

This commit is contained in:
kr.angelov
2013-08-27 21:53:13 +00:00
parent 59650c0bdb
commit 8d82dc66bf
8 changed files with 223 additions and 24 deletions

View File

@@ -19,5 +19,9 @@ public class Test {
for (Map.Entry<String,Concr> entry : gr.getLanguages().entrySet()) {
System.out.println(entry.getKey()+" "+entry.getValue()+" "+entry.getValue().getName());
}
for (ExprProb ep : gr.getLanguages().get("ParseEng").parse("Phr", "test")) {
System.out.println("["+ep.getProb()+"] "+ep.getExpr());
}
}
}