more carefull tracking of references in the Java binding

This commit is contained in:
kr.angelov
2013-08-29 05:35:45 +00:00
parent 430e9c1b49
commit bb007630d7
5 changed files with 24 additions and 18 deletions

View File

@@ -24,7 +24,7 @@ public class Test {
Concr ger = gr.getLanguages().get("PhrasebookGer");
try {
for (ExprProb ep : eng.parse(gr.getStartCat(), "where is the conference")) {
for (ExprProb ep : eng.parse(gr.getStartCat(), "where is the hotel")) {
System.out.println("["+ep.getProb()+"] "+ep.getExpr());
System.out.println(ger.linearize(ep.getExpr()));
}