如何在C#Winform中使用语音文本 [英] how to use voice to text in c# winform

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

问题描述

hi codeproject

我想设计一个带有两个文本框的winform,我想用我的voice.i书写.我希望当光标放在textbox1中并且用户说"C Sharp is great"时,该单词应翻译为文本并显示在textbox1上并且当用户专注于textbox2并说"codeproject是最好的"时,它也应该转换为textbox2中的文本.任何帮助.

在此先感谢

hi codeproject

i want to design a winform with two textboxes which i want to write on with my voice.i want that when the cursor is placed in textbox1 and the user speaks "C sharp is great" the word should be translated to text and display on textbox1 and also when the user focuses on textbox2 and say "codeproject is the best" it should be converted to text in the textbox2 also. any help on this.

thanks in advance

推荐答案

查看System.Speech命名空间,那里有很多好处:http://msdn.microsoft.com/zh-cn/library/system.speech.recognition(v=vs.100).aspx [ ^ ]
在这种情况下, SpeechRecognizer [ ^ ]是您主要需要阅读的内容,该页面底部的示例应该可以帮助您入门.
Look into the System.Speech namespace, lots of goodness there: http://msdn.microsoft.com/en-us/library/system.speech.recognition(v=vs.100).aspx[^]
In this case SpeechRecognizer[^] is the one you will need to read about mainly, the sample at the bottom of that page should get you started.


从中查看语音到文本的转换,然后应用它带有文本框焦点事件..
http://www.prodigyproductionsllc.com/articles/programming/simple-speech-recognition -using-c/ [ ^ ]
http://www.dotnetspider.com/forum/275905-C-code- convert-voice-text.aspx [ ^ ]
http://social.msdn.microsoft.com/Forums/zh/csharpgeneral/thread/15d5dbd6-5af4-40d4-8808-d1576a18ae46 [
See voice to text conversion from these and then apply it with textbox focus event..
http://www.prodigyproductionsllc.com/articles/programming/simple-speech-recognition-using-c/[^]
http://www.dotnetspider.com/forum/275905-C-code-convert-voice-text.aspx[^]
http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/15d5dbd6-5af4-40d4-8808-d1576a18ae46[^]


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

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