mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-10 21:39:32 -06:00
more carefull tracking of references in the Java binding
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user