开发者

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

开发者 https://www.devze.com 2023-01-07 00:24 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_如何学Go Closed 11 years ago.

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 -

http://msdn.microsoft.com/en-us/library/cc998523.aspx

Converting Text to Speech in a C# WPF Application-

http://www.redmondpie.com/converting-text-to-speech-in-a-c-wpf-application/

0

精彩评论

暂无评论...
验证码 换一张
取 消