Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# System.Speech notfound!

im trying to use Speech Recognition related to this: C# Speech Recognition - Is this what the user said?

but the system cant find its assemblies.

like image 897
ShirazITCo Avatar asked May 02 '11 18:05

ShirazITCo


3 Answers

Make sure you have a reference to System.Speech.Recognition in your project.

Also, this is available only on .NET 3.0 and above.

like image 67
David Avatar answered Oct 27 '22 06:10

David


you have to add System.Speech.Recognition to your project.

In .Net 3.0 and Above

enter image description here

like image 39
anishMarokey Avatar answered Oct 27 '22 06:10

anishMarokey


System.Speech is available in .Net 3.0 and later. The MSDN page for the 3.0 version is at http://msdn.microsoft.com/en-us/library/system.speech.recognition(v=VS.85).aspx. The recognizer engines are only available by default in Windows Vista and Windows 7. Did you get a runtime exception? What was it?

You might want to look over the answer in What is the best option for transcribing speech-to-text in a asp.net web app? for some more info.

To add some details to the version mentioned in the comments, one source is http://en.wikipedia.org/wiki/Windows_Speech_Recognition which says:

Speech recognition technology has been used in some of Microsoft's products, including Microsoft Dictation (a research prototype that ran on Windows 9x). It was also included in Office XP, Office 2003,[3] Microsoft Plus! for Windows XP, Windows XP Tablet PC Edition, and Windows Mobile (as Microsoft Voice Command).[4] However, prior to Windows Vista, speech recognition was not mainstream. In response, Windows Speech Recognition was bundled with Windows Vista and released in 2006, making the operating system the first mainstream version of Microsoft Windows to offer fully integrated support for speech recognition.

The following table used to be available at http://www.microsoft.com/speech/developers.aspx, under “.Net 3.x System.Speech”, then in the bottom right click on “Microsoft Speech Engines”. It is no longer there. I saved this image on my hard drive and still have it:

enter image description here

The footnotes for the table were:

  1. Version 6.1 of the Microsoft Speech Recognition Engines are available to Independent Software Vendors (ISV) in a redistribution package that can be installed along with their own application. The package also includes the SAPI version 5.1 components for installation on Windows 2000. For more information on obtaining the redistribution package, email [email protected].
  2. Available in 4 languages: English (U.S.), Japanese, Chinese (Simplified), and Chinese (Traditional)
  3. Microsoft Office 2003 includes version 6.1 of the Microsoft Speech Recognition Engine, available in four languages2. Office 2003 can be installed on Windows 2003 Server and the engines be used by other applications
  4. Available in 8 languages: English (U.S.), English (U.K.), German (Germany), French (France), Spanish (Spain), Japanese, Chinese (Traditional) and Chinese (Simplified).
  5. Microsoft Anna is a U.S. English voice, and is included in all Windows Vista Editions in all languages.
  6. Microsoft Lili speaks Chinese and English. The Microsoft Lili TTS engine is included in all Chinese language versions of Windows Vista and Windows Server 2008. Users of Windows Vista Ultimate, Windows Vista Business Enterprise and Windows Server 2008 can download either the Chinese (Simplified) or Chinese (Traditional) Multilingual User Interface Language Packs pack and the Microsoft Lili voice will be installed.
like image 40
Michael Levy Avatar answered Oct 27 '22 07:10

Michael Levy