How to Enable DNN translation through Microsoft Translator API

本小妞迷上赌 提交于 2019-12-11 05:47:54

问题


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.

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?


回答1:


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/



来源:https://stackoverflow.com/questions/48104993/how-to-enable-dnn-translation-through-microsoft-translator-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!