如何通过Microsoft Translator API启用DNN转换 [英] How to Enable DNN translation through Microsoft Translator API
问题描述
Microsoft Translate API默认执行Statistical machine translation
.这比更现代的Deep Neural Network
翻译质量低,后者也可用于许多语言.
Microsoft Translate API defaults to performing Statistical machine translation
. This is lower quality than the more modern Deep Neural Network
translation, which is also available for many languages.
我可以将翻译与SMT
一起使用.但是,我无法弄清楚如何使DNN
正常工作. Microsoft自己的文档没有提供有关此信息.
I am able to get translations to work with SMT
. However, I'm unable to figure out how to get DNN
to work. Microsoft's own documentation provides no information on this.
任何人都有使它生效的经验吗?
Anyone have experience getting this to work?
推荐答案
默认情况下,中文和北印度文之间的翻译是NN.对于其他18种支持的语言,只需添加参数"category = generalnn"即可告诉我们的服务使用NN模型而不是SMT模型.有关受支持的语言和混合翻译的更多详细信息,可以在Translator博客上找到: https://blogs.msdn.microsoft.com/translation/2017/11/15/microsoft-translator-accelerates-use-of-neural -networks-across-its-offerings/
Translations to and from Chinese and Hindi are NN by default. For the other 18 languages supported, just add the parameter "category=generalnn" to tell our service to use the NN models instead of the SMT ones. More details on language supported and hybrid translations can be found on the Translator blog: https://blogs.msdn.microsoft.com/translation/2017/11/15/microsoft-translator-accelerates-use-of-neural-networks-across-its-offerings/
这篇关于如何通过Microsoft Translator API启用DNN转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!