使用谷歌"讲现在"在C#中 [英] Use google "Speak Now" in C#

查看:163
本文介绍了使用谷歌"讲现在"在C#中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

日前宣布,谷歌在Chrome浏览器中的功能来搜索文本或使用麦克风的翻译文本。

Recently google announced a feature in Chrome browser to search text or translate texts using microphone.

http://www.seroundtable.com/google-search-speak-now-13346.html

我想开发C#桌面应用程序发送语音谷歌和得到的结果回来。
它如何可以做到?

I'd like to develop a C# desktop application to send voice to google and get the results back. How can it be done?

推荐答案

谷歌没有为桌面语音识别API。他们只对Android开发语音识别API。但是,你可以在这里下载微软的语音识别API: HTTP ://msdn.microsoft.com/en-us/library/ms723627(v = vs.85)的.aspx ,然后你可以阅读如何得到它在C#在这里工作:的 HTTP:// windowscoding.com/blogs/blake/archive/2006/11/01/How-to-use-Microsofts-Speech-API-in-a-managed-application.aspx

Google does not have a speech recognition API for desktops. They only have a speech recognition API for Android developers. However, you can download Microsoft's speech recognition API here: http://msdn.microsoft.com/en-us/library/ms723627(v=vs.85).aspx and you can read how to get it to work in C# here: http://windowscoding.com/blogs/blake/archive/2006/11/01/How-to-use-Microsofts-Speech-API-in-a-managed-application.aspx

一旦你运行你要识别文本样本的识别API,你可以简单地调用google.com用q参数来执行一个查询搜索

Once you run the recognition api on the sample of text you want to recognize, you can simply call google.com with the "q" parameter to do a query search

请注意过,微软并不是唯一一家拥有语音识别API。您可以自由使用任何你想要的。

Note too that Microsoft is not the only company with a speech recognition API. You are free to use any you want.

这篇关于使用谷歌"讲现在"在C#中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆