From 98e01dc63ecec849770284ff23bb475b8fcc4082 Mon Sep 17 00:00:00 2001 From: hallgren Date: Tue, 9 Sep 2014 13:53:10 +0000 Subject: [PATCH] Wide Coverage Demo web app: use the App grammar instead of the Translate grammar This gives faster but slightly lower quality translations. --- src/www/js/gftranslate.js | 4 ++-- src/www/js/wc.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/www/js/gftranslate.js b/src/www/js/gftranslate.js index 591f02217..3e1a3b111 100644 --- a/src/www/js/gftranslate.js +++ b/src/www/js/gftranslate.js @@ -3,8 +3,8 @@ var gftranslate = {} -gftranslate.jsonurl="/robust/Translate11.pgf" -gftranslate.grammar="Translate" // the name of the grammar +gftranslate.jsonurl="/robust/App11.pgf" +gftranslate.grammar="App" // the name of the grammar gftranslate.call=function(querystring,cont,errcont) { http_get_json(gftranslate.jsonurl+querystring,cont,errcont) diff --git a/src/www/js/wc.js b/src/www/js/wc.js index 04686fee7..cbcb421d2 100644 --- a/src/www/js/wc.js +++ b/src/www/js/wc.js @@ -1,5 +1,5 @@ var wc={} -wc.cnl="Phrasebook" // try this controlled natural language first +//wc.cnl="Phrasebook" // try this controlled natural language first wc.f=document.forms[0] wc.o=element("output") wc.e=element("extra")