mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
Simple Translator: remove extra space before punctuation
This commit is contained in:
@@ -222,7 +222,7 @@ Translator.prototype.update_translation=function(i) {
|
||||
var ts=[]
|
||||
for(var i=0;i<trans.length;i++) {
|
||||
var t=trans[i].linearizations[0].text
|
||||
if(punct) t=t+" "+punct
|
||||
if(punct) t=t+punct
|
||||
if(!elem(t,ts)) ts.push(t)
|
||||
}
|
||||
//mapc(unlextext,ts,upd3)
|
||||
|
||||
Reference in New Issue
Block a user