简体   繁体   English

加载Microsoft Speech SDK v11时出错

[英]Error loading Microsoft Speech SDK v11

I have installed the x86 SDK and added the Microsoft.Speech.dll to my project. 我已经安装了x86 SDK并将Microsoft.Speech.dll添加到我的项目中。 The project is set to x86. 该项目设置为x86。

When trying to create a instance of SpeechSynthesizer I get 在尝试创建SpeechSynthesizer的实例时,我得到了

Retrieving the COM class factory for component with CLSID {D941651C-44E6-4C17-BADF-C36826FC3424} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). 由于以下错误,检索具有CLSID {D941651C-44E6-4C17-BADF-C36826FC3424}的组件的COM类工厂失败:80040154未注册类(HRESULT异常:0x80040154(REGDB_E_CLASSNOTREG))。

What more can cause those then wrong target platform? 还有什么可以导致那些错误的目标平台?

I resolved these issues a few minutes ago: 几分钟前我解决了这些问题:

-Download and using Microsoft Speech SDK 32 bit (By this way you can use in both platforms) - 下载和使用Microsoft Speech SDK 32位(通过这种方式,您可以在两个平台中使用)

And the most important is to install these files : 最重要的是安装这些文件:

-In Microsoft Speech SDK: - 在Microsoft Speech SDK中:

C:\Program Files (x86)\Microsoft SDKs\Speech\v11.0\Redist\SpeechPlatformRuntime.msi

-In Microsoft Speech Platform - Runtime Languages: - 在Microsoft Speech Platform中 - 运行时语言:

https://www.microsoft.com/en-us/download/details.aspx?id=27224

MSSpeech_SR_en-US_TELE.msi (using for Speech To Text)
MSSpeech_TTS_en-US_ZiraPro.msi (using for Text To Speech)

That done. 完成了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Cognos v11 SDK 导出为 pdf - Cognos v11 SDK export to pdf Cognos v11 SDK 参数传递 - Cognos v11 SDK Parameter Passing 使用来自Skype呼叫的MemoryStream,使用SAPI 5.4或MS Speech SDK v11在C#中进行语音识别 - Speech Recognition in C# with SAPI 5.4 or MS Speech SDK v11 using a MemoryStream from Skype call 我正在使用 Canon SDK Tutorial V11,但在打开会话时出现错误 SDK Error:0x7 - I am using Canon SDK Tutorial V11 , but I get an error SDK Error:0x7 when I open the session Microsoft Speech SDK 11中的语法太多 - Too many grammars in Microsoft Speech SDK 11 在Kentico V11中导入对象时出错 - Error while importing object in Kentico V11 如何从Microsoft.Reporting.WinForms.ReportViewer v11将报告导出到.xls文件 - How to export report to .xls file from Microsoft.Reporting.WinForms.ReportViewer v11 Microsoft.ReportViewer。*。dll没有显示在引用中(v11或12) - Microsoft.ReportViewer.*.dll's are not showing up in references (v11 or 12) hotchocolate v11 中的 DataLoaderOptions.AutoDispatch - DataLoaderOptions.AutoDispatch in hotchocolate v11 Azure 搜索 v11:索引复杂类型的可空集合 - Azure Search v11: Indexing nullable Collection of Complex Type
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM