1
0
forked from GitHub/gf-core

Simple Translator: show more alternatives when using GF robust translation

The maximum number of alternatives shown has been increased from 2 to 5
although it can slow down translation.
This commit is contained in:
hallgren
2014-04-04 12:35:20 +00:00
parent 9ceadecf89
commit 6cbd1a753c

View File

@@ -223,7 +223,7 @@ Translator.prototype.update_translation=function(i) {
//console.log(translate_output)
upd2(translate_output,punct)
}
gftranslate.translate(source,o.from,o.to,0,2,upd1)
gftranslate.translate(source,o.from,o.to,0,5,upd1)
}
if(!window.gftranslate)
upd3s("[GF robust parser is not available]")