Tutorial :I want to convert speech to text in WPF . How can I do this ?? [closed]


I want to convert speech to text in WPF . How can I do this ?


Start by taking a look at the Microsoft Speech API (SAPI)


WPF is used to build user interfaces, not algorithms. This is a C#,or even a .NET related question. Try to start with an Hello World program instead of such a big task. You'll progress step by step.


WPF is a presentation framework. It doesn't do text-to-speech or speech-to-text.


Wow, this is not a simple solution for it. You must use voice recognition algorithm.

You can start a project in Visual Studio 2010 by the clicking File -> New -> Project ... and choicing Visual C# -> WPF Application

Learning guide you can find at http://msdn.microsoft.com/en-us/vstudio/cc136611.aspx


Not an easy task - very specialist in fact - but as a start you might look at using soundex to match words in a dictionary (db or flat file).

This will not give you grammatical checking, and probably won't be that accurate, but will give you a working framework that you can build on.

Of course, before you do any of that, you need to manage the sound file to pick out the sounds, spaces, rhythm etc. and convert them into a value that you can manipulate within your code.

You're looking at a LOT of man hours. Some people devote their careers to this.


It's an open research problem. But you can buy commercial packages for it I think.

See for example: http://www.nuance.co.uk/naturallyspeaking/products/default.asp


Please try google, you can find a lot of samples like this -

WPF Text To Speech UI -


Converting Text to Speech in a C# WPF Application-


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »