【问题标题】:Different translation result compare to bing translate与 bing 翻译相比,翻译结果不同
【发布时间】:2017-08-31 11:53:26
【问题描述】:

我发现 bing translation online webpage 上的文本翻译 API 行为与在线翻译之间存在一些差异

我正在翻译的英文文本(西班牙语)是:

"*Add the shallot, tomatoes, peppers and red pepper flakes and cook, stirring often, until slightly softened and aromatic, about 4 minutes*"

当我使用 Microsoft Text Translation python API 时,会调用以下 URL……

http://api.microsofttranslator.com/v2/Http.svc/Translate?text=“Add the shallot, tomatoes, peppers and red pepper flakes and cook, stirring often, until slightly softened and aromatic, about 4 minutes”&to=es

翻译后的结果是——>“Añadir los copos de cebolleta, tomate, pimiento y pimiento rojo y cocine, revolviendo frecuentemente, hasta que se ablanden un poco y aromático, unos 4 minutos”

但是,网页上有必应翻译

我得到以下翻译结果:

Añada la chalota, los tomates, los pimientos y las hojuelas de pimiento rojo y cocine, revolviendo a menudo, hasta que se suavicen ligeramente y aromáticos, unos 4 minutos

它们的区别很少,看起来很奇怪。例如,shallow 通过 API 被翻译为“los copos de cebolleta”,而在 bing 上被翻译为“chalota”。 “tomates”与“tomate”等。

你能看出我做错了什么吗?还是 API 引擎有问题?

【问题讨论】:

  • 不同的翻译引擎提供不同的翻译是很正常的。
  • 如您所见,the DeepL translator 提供了另一个版本。
  • 我完全同意不同的翻译引擎会有一些差异。但是,我想在这里说明几点。 (1)我希望 bing translate 和 text api 在后面使用相同的引擎。 (2) 即使是 DeepL 翻译器,谷歌翻译都提供与 bing 非常相似的翻译。 (3) 通过文本 API 将青葱翻译成“Chive Flakes”是相当不同的。

标签: python translation language-translation microsoft-translator bing-translator-api


【解决方案1】:

不同之处在于文本翻译 API 使用的是统计机器翻译算法,而必应翻译使用的是神经机器翻译算法。他们尚未切换文本翻译 API 以使用神经算法。

您可以在这里测试它们之间的差异:https://translator.microsoft.com/neural/

https://blogs.msdn.microsoft.com/translation/2016/11/15/microsoft-translator-launching-neural-network-based-translations-for-all-its-speech-languages/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-12-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多