【发布时间】:2016-02-29 18:59:06
【问题描述】:
有人知道是否有可能将部分文本排除在谷歌翻译工具包的处理之外吗?
此工具的一大优势在于,它建议翻译已在另一个上下文中翻译的句子。但是,如果文本中添加了任何其他脚注和/或备注,则不会被识别为匹配项。我正在寻找将此类文本括在“括号”中的可能性,在该括号中它将被忽略。
例如,以下两个字符串应该被识别为相同的:
"This is one continuous sentence."
"This is {this text will be ignored}one continuous sentence."
并被翻译成德语:
"Dies ist ein zusammenhängender Satz."
"Dies is {this text will be ignored}ein zusammenhängender Satz."
如有必要,我可以对此类插入进行编号并将其内容放入其他段落中,例如:
"This is one continuous sentence."
"This is {1}one continuous sentence."
"{1 this text will be ignored}
提前非常感谢, 马塞尔
【问题讨论】:
标签: translation google-translate machine-translation