diff options
| author | hallgren <hallgren@chalmers.se> | 2014-09-09 13:53:10 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2014-09-09 13:53:10 +0000 |
| commit | 566aeb93f51a9a4aba72c93baaca593589731ce3 (patch) | |
| tree | f739b88190832f380647ca818b37f6bd8cebbf39 /src | |
| parent | 4eb6b55e980fda9c4d260820f5a6d38dde3d0991 (diff) | |
Wide Coverage Demo web app: use the App grammar instead of the Translate grammar
This gives faster but slightly lower quality translations.
Diffstat (limited to 'src')
| -rw-r--r-- | src/www/js/gftranslate.js | 4 | ||||
| -rw-r--r-- | 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") |
