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:
@@ -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]")
|
||||
|
||||
Reference in New Issue
Block a user