拒绝访问服务 - Bing 语音识别

Access to the service is denied - Bing Speech Recognition

我试图在我的应用程序中实现 Bing Speech Recognition,但在进行了大量搜索后,我无法找到此异常的解决方案。

访问该服务被拒绝。未经授权的异常。

我现在有以下代码,但在处理语音时出现此异常。

var result = await SR.RecognizeSpeechToTextAsync();

我目前正在完全遵循这个 msdn link 并且我已经在下面 link 中完成了这个异常的解决方案。

链接 1:http://answers.flyppdevportal.com/categories/metro/csharpvb.aspx?ID=aef27927-9a47-4ec1-9b2e-bd0664d70f91

链接 2:http://blogs.msdn.com/b/datamarket/archive/2013/10/21/new-bing-speech-recognition-control-and-updated-bing-ocr-and-translator-controls-on-windows-azure-marketplace.aspx

我仍然无法为我的问题找到合适的解决方案。任何帮助将不胜感激。

根据 your MSDN link:

Bing Speech Subscription Requirements

You can install the Bing Speech Recognition control for Windows 8 or for Windows 8.1 directly from the Visual Studio Gallery, or from the Extension Manager in Visual Studio.

To gain access to the Bing Speech Recognition Control and the web service that it depends on, you must subscribe at the The Windows Azure Data Marketplace, and then register your application. The subscription is free for the first 500,000 service calls per month.

When you are ready to publish your application, you can do so on the Marketplace. You can strong-name your application.

For more information, see How to: Register and install the Bing Speech Recognition Control.

鼓励 的部分可能是这里的关键 - 您需要通过 Azure Data Marketplace 订阅该服务,即使第一个是免费的每月 500,000 笔交易。