如何在C#中实现语音搜索 [英] How to implement voice search in C#

查看:169
本文介绍了如何在C#中实现语音搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想在应用程序中实现语音搜索。请提前感谢您的帮助。

解决方案

请参考这个

http://sympletech.com/using-c-to-do-voice-recognition-using-the-built-in-speechrecognitionengine-class/

< a href =http://www.codeproject.com/Articles/380027/Csharp-Speech-to-Text> http://www.codeproject.com/Articles/380027/Csharp-Speech-to-Text


答案全部在此链接中:

https://www.google.com/q=speech+recognition+c%23 [ ^ ]



该链接将引导您进入以下两页:

http://msdn.microsoft.com/en-us/library/system.speech.recognition.speechrecognitionengine(V = vs.110)的.aspx [ ^ ]

http://msdn.microsoft.com/en-us/library/office/hh361683(v=office.14).aspx [ ^ ]



另外,通过注意谷歌链接的格式,您可以编写以下代码。

  //  定义URL  
var search_URL = string .Format( htt ps://www.google.com/q= {0},< search_query>);
// 在默认浏览器中打开它
System.Diagnostics.Process。开始(SEARCH_URL);


Hi ,

I want to implement voice search in an application.Thanks in advance for your help.

解决方案

Please refer this
http://sympletech.com/using-c-to-do-voice-recognition-using-the-built-in-speechrecognitionengine-class/
http://www.codeproject.com/Articles/380027/Csharp-Speech-to-Text


The answer is all in this link:
https://www.google.com/q=speech+recognition+c%23[^]

That link will lead you to these two pages:
http://msdn.microsoft.com/en-us/library/system.speech.recognition.speechrecognitionengine(v=vs.110).aspx[^]
http://msdn.microsoft.com/en-us/library/office/hh361683(v=office.14).aspx[^]

Also, by noticing how that google link was formatted, you can write the below code.

//Define the URL
var search_URL = string.Format("https://www.google.com/q={0}", <search_query>);
//Open it in the default browser
System.Diagnostics.Process.Start(search_URL);


这篇关于如何在C#中实现语音搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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