1
0
forked from GitHub/gf-core

simple translator: Replaced 'GF Robust Parser' with 'GF Wide Coverage Translation'

The interface to the wide coverage translation is in js/gftranslate.js
and it assumes that the grammar is installed on the cloud server
as /robust/Translate8.pgf.

The list of supported languages is hardwired in gftranslate.js, since
there is no support for obtaining this info from the C run-time system
at the moment.
This commit is contained in:
hallgren
2014-01-21 16:47:23 +00:00
parent db67c180a5
commit 7cf6391ee1
3 changed files with 46 additions and 10 deletions

View File

@@ -61,7 +61,7 @@
<tr><td><span onclick="">Default translation method</span>
<dl id=methods>
<dt><label><input name=method value=Manual type=radio onchange="translator.change(this)">Manual</label>
<dt><label><input name=method value=GFRobust type=radio onchange="translator.change(this)">GF Robust Parser</label>
<dt><label><input name=method value=GFRobust type=radio onchange="translator.change(this)">GF Wide Coverage Translation</label>
</dl>
</table>
<dt><label><input name=cloud type=checkbox onchange="translator.change(this)"> Save in the cloud</label>
@@ -78,14 +78,14 @@
</div>
<hr>
<div class=modtime><small>HMTL
<!-- hhmts start -->Last modified: Fri Apr 12 17:03:43 CEST 2013 <!-- hhmts end -->
<!-- hhmts start -->Last modified: Tue Jan 21 16:54:12 CET 2014 <!-- hhmts end -->
</small></div>
<a href="about.html">About</a>
<script type="text/JavaScript" src="../js/grammar_manager.js"></script>
<script type="text/javascript" src="../js/support.js"></script>
<script type="text/javascript" src="../js/pgf_online.js"></script>
<script type="text/javascript" src="../js/gfrobust.js"></script>
<script type="text/javascript" src="../js/gftranslate.js"></script>
<script type="text/javascript" src="../js/localstorage.js"></script>
<script type="text/javascript" src="../gfse/localstorage.js"></script>
<script type="text/javascript" src="../gfse/cloud2.js"></script>