语言翻译器无法正确翻译
我发现IBM Watson语言翻译通常无法正确翻译某些语言。例如,在下面提到的情况下,您可以看到它无法正确完成翻译。
languageTranslator.translate(
{
text: '凸版印刷株式会社',
source: 'ja',
target: 'en'
})
.then(response => {
console.log(JSON.stringify(response.result, null, 2));
})
.catch(err => {
console.log('error: ', err);
});
//outputs
{
"translations": [
{
"translation": "Convex Printed Stock Company"
}
],
"word_count": 4,
"character_count": 8
}
// correct output: Toppan Printing Co., Ltd.
与ja
相比,确定的语言对ZH
具有更高的信心。
I am finding that IBM Watson language translator often doesn't translate correctly for certain languages. For example, in the case mentioned below you could see that it is not getting the translation done correctly.
languageTranslator.translate(
{
text: '凸版印刷株式会社',
source: 'ja',
target: 'en'
})
.then(response => {
console.log(JSON.stringify(response.result, null, 2));
})
.catch(err => {
console.log('error: ', err);
});
//outputs
{
"translations": [
{
"translation": "Convex Printed Stock Company"
}
],
"word_count": 4,
"character_count": 8
}
// correct output: Toppan Printing Co., Ltd.
The languages identified have higher confidence to zh
than ja
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论