Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
C#
using Microsoft.Speech.Recognition

Tnx
Posted
Updated 8-Mar-12 6:40am
v2

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
 
Share this answer
 
Comments
Vahid sVs 8-Mar-12 13:03pm    
Oh thanks a lot finally it worked
Sergey Alexandrovich Kryukov 8-Mar-12 13:12pm    
Already tested some functionality? That is great! It's so nice to meed an inquirer who understands the answer properly and accepts it so fast.
You are very welcome.

Good luck, call again.
--SA
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;
 
Share this answer
 
Comments
Vahid sVs 8-Mar-12 13:03pm    
Thanks man for your solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900