Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/arduino/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 2.7 Microsoft Translator API(从统计模型切换到神经模型)_Python 2.7_Bing Api_Microsoft Translator_Bing Translator Api - Fatal编程技术网

Python 2.7 Microsoft Translator API(从统计模型切换到神经模型)

Python 2.7 Microsoft Translator API(从统计模型切换到神经模型),python-2.7,bing-api,microsoft-translator,bing-translator-api,Python 2.7,Bing Api,Microsoft Translator,Bing Translator Api,我使用的是MicrosoftTranslatorAPI(),我注意到它默认使用统计机器翻译模型。然而,神经网络翻译模型比统计模型更精确。如下图所示: 我想在API中使用神经网络模型。寻求关于如何使用API从默认统计模型切换到神经模型的指导…在您的呼叫中添加“category=generalnn”,告知我们的服务器使用NN模型与SMT。如果应用程序请求NN使用不受支持的语言,它将自动使用SMT语言

我使用的是MicrosoftTranslatorAPI(),我注意到它默认使用统计机器翻译模型。然而,神经网络翻译模型比统计模型更精确。如下图所示:


我想在API中使用神经网络模型。寻求关于如何使用API从默认统计模型切换到神经模型的指导…

在您的呼叫中添加“category=generalnn”,告知我们的服务器使用NN模型与SMT。如果应用程序请求NN使用不受支持的语言,它将自动使用SMT语言