PlatformNotSupportedException Using .NET Speech Recognition

后端 未结 3 581
[愿得一人]
[愿得一人] 2021-01-21 10:15

So I\'m trying voice recognition for C#, I\'m using System.Speech.Recognition, and, I was searching around on the internet, trying out several pieces of code for some basic spee

3条回答
  •  深忆病人
    2021-01-21 10:32

    Which version of Windows 7 are you running? Which language?

    Can you use the built in Windows 7 dictation features? Is the speech recognition control panel app working for you? See http://windows.microsoft.com/en-US/windows7/Setting-speech-options

    I thought all Windows 7 versions should come with recognizer preinstalled. However, if you are using an unsupported language, it may not.

    From https://stackoverflow.com/a/2998963/90236:

    You can use use the APIs to query and determine your installed recongizers Desktop: System.Speech.Recognition.SpeechRecognitionEngine.InstalledRecognizers()

    I found that I can also see what recognizers are installed by looking at the registry keys: Desktop recognizers: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Recognizers\Tokens

    If you want to try a very simple program that might help, see https://stackoverflow.com/a/4737003/90236

提交回复
热议问题