Microsoft语音识别 [英] Microsoft Speech Recognition

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

问题描述

我想为文字程序和演讲做演讲.我需要Microsoft语音识别
在其中,我安装了所有Microsoft Speech sdk,但在Visual Studio 2010中没有该库.
所以问题:
如何在Vs中添加Microsoft.Speech.Recognition?
我有Microsoft库,但没有它的语音库
请帮助我将此代码添加到我的vs中,因为我的vs无法识别它.

I want to develop a speech to text program & I need Microsoft Speech Recognation
in it , I installed all the Microsoft Speech sdk but I don''t have the library in my Visual studio 2010.
so the question :
how to add Microsoft.Speech.Recognition in Vs?
I have the Microsoft library but I don''t have speech library of it
Please help me add this code to my vs because my vs doesn''t recognize it.

using Microsoft.Speech.Recognition


Tnx


Tnx

推荐答案

添加程序集"System.Speech.dll".该程序集随附(可免费重新分发).NET Framework,因此它在您的GAC中,请使用添加引用"窗口的".NET"选项卡添加它.
使用命名空间System.Speech.Recognition:
http://msdn.microsoft.com/en-us/library/system.speech. Identification.aspx [ ^ ].

祝你好运,
—SA
Add the assembly "System.Speech.dll". This assembly comes with (freely redistributable) .NET Framework, so it is in your GAC, add it using the ".NET" tab of the "Add Reference" window.

Use the namespace System.Speech.Recognition:
http://msdn.microsoft.com/en-us/library/system.speech.recognition.aspx[^].

Good luck,
—SA


您是否已添加对程序集的引用?
或者您是说 SpeechRecognizer类 [
Have you added a reference to the assembly?
Or do you mean the SpeechRecognizer Class[^]? If so, it needs a reference to System.Speech (in System.Speech.dll) and a using System.Speech.Recognition;


这篇关于Microsoft语音识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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