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

标签 c# windows-8 windows-8.1 speech-recognition bing-api

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

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

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

var result = await SR.RecognizeSpeechToTextAsync();

我目前正在关注这个msdn链接完全,我已经通过以下链接找到了此异常的解决方案。

链接 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 笔交易不收取任何费用。

关于c# - 访问服务被拒绝 - Bing 语音识别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27783625/

相关文章:

c# - .NET DateTime 对象字符串格式

javascript - 如何阻止右键单击和双击缩放?

c# - Windows Metro 应用程序中缺少 XPath

Java 媒体框架和 Windows 8.1

c# - Windows Universal/Store App 中的类库本地化

c# - 在 C# 中定义 extern "C"函数

c# - Scripts.Render 使用过时的 javascript 文件

javascript - WebView.InvokeScriptAsync 不适用于通用应用程序

C# Linq 查询选择所有以 String 开头的枚举

c# - Windows 应用商店应用、加密、提供的用户缓冲区对于请求的操作无效