forked from GitHub/gf-core
Wide Coverage Demo Web App: bug fix: restore lost quality indications after switching target languages
This commit is contained in:
@@ -97,6 +97,7 @@ function trans_quality(r,to) {
|
||||
else {
|
||||
var text=r.linearizations[ix].text
|
||||
if(r.prob==0) return {quality:"high_quality",text:text}
|
||||
else if(r.prob<0) return {quality:"bad_quality",text:text}
|
||||
else {
|
||||
var t=trans_text_quality(text)
|
||||
if(t.quality=="default_quality" && r.tree && r.tree[0]=="?")
|
||||
|
||||
Reference in New Issue
Block a user