【问题标题】:Exception from HRESULT: 0x80045003HRESULT 异常:0x80045003
【发布时间】:2011-08-21 07:29:59
【问题描述】:

我正在使用 C#.Net 开发语音识别引擎,以便在孟加拉语中开发语音到文本。我曾多次尝试将语法文件加载到语音引擎。 但它向我显示了错误。我该如何解决这个问题?

我的XML语法加载代码是

grammar.CmdLoadFromFile(appPath + FileName, SpeechLib.SpeechLoadOption.SLOStatic);
//grammar.CmdLoadFromFile("E:\\Speech RecognitionByp\\SpeechRecognitionByp@bengaliGramme.xml",SpeechLib.SpeechLoadOption.SLODynamic);
grammar.CmdSetRuleIdState(0, SpeechRuleState.SGDSActive);

【问题讨论】:

    标签: xml c#-4.0 speech-recognition


    【解决方案1】:

    错误表示SPERR_UNSUPPORTED_FORMAT - 这只能通过更正文件格式来解决...

    【讨论】:

    • 很高兴我能提供帮助 - 请不要忘记在回答有帮助时点赞/标记为已接受。
    猜你喜欢
    • 2012-07-21
    • 2011-03-02
    • 2012-02-26
    • 2011-07-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-04-01
    相关资源
    最近更新 更多