Unable to correctly install MS Speech Platform 11 on Win 7 x64

hkurabko picture hkurabko · May 17, 2012 · Viewed 11.6k times · Source

so I'm trying to get up and running MS Speech Platform 11 + SDK + Russian Language for TTS and SR

  1. Installing SpeechPlatformRuntime.x64.msi
  2. Installing MicrosoftSpeechPlatformSDK.x64.msi --- Both goes to correct "Program Files" folder.
  3. Installing MSSpeech_SR_ru-RU_TELE.msi
  4. Installing MSSpeech_TTS_ru-RU_Elena.msi --- Both goes to "Program Files (x86)" folder. - is it OK?

Seems like no, because when I look at SpeechRecognitionEngine.InstalledRecognizers() it returns 2 items:

MS-1033-80-DESK
Microsoft Speech Recognizer 8.0 for Windows (English - US)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Recognizers\Tokens\MS-1033-80-DESK

MS-2057-80-DESK
Microsoft Speech Recognizer 8.0 for Windows (English - UK)
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\Recognizers\\Tokens\\MS-2057-80-DESK

But I have never installed this recognizers. I've looked into Win 7 component and can't find any related to this.

So questions are:

  1. Is it required to install languages in x64 Program Files? If so, how to do that?
  2. How to configure recognizer and synthesizer to see ru-RU languages?

Any help very appreciated.

Answer

hkurabko picture hkurabko · May 21, 2012

Finally I got it. I don't know why it is so complex. May be I'm doing something wrong. Anyway, it works and located in correct places. So, here is my solution:

  1. Install x64_SpeechPlatformRuntime\SpeechPlatformRuntime.msi
  2. Install x64\MicrosoftSpeechPlatformSDK.msi
  3. Using Orca (installation instructions here) modify MSSpeech_SR_ru-RU_TELE.msi, and other languages that you would like to install:

    1. Go to View -> Summary Information, and set Platform: x64.

    2. Go to Directory table, and change all occurrences:

      CommonFilesFolder -> CommonFiles64Folder

      Common -> CommonFiles64Folder

  4. Install selected languages.

  5. Place file Microsoft.Speech.dll into you project's "Externals" folder and reference this dll from there. (I can't find way how to reference this DLL from VS without this trick).