【问题标题】:tutorial-speech-intent-recognition not working?教程语音意图识别不起作用?
【发布时间】:2019-04-04 16:15:57
【问题描述】:

我一直在用这个例子https://github.com/Azure-Samples/cognitive-services-language-understanding/tree/master/documentation-samples/tutorial-speech-intent-recognition/csharp

正确配置,我已经创建了 luis 应用程序,添加了一些意图和示例,经过培训和发布。我已经注释掉了模型部分,因为我已经制作了 luis 应用程序。

当我运行应用程序识别似乎很好,但我没有得到意图(result.IntentId 为空白),在 luis 中认为一切都很好。如果我使用已识别的文本并使用休息来询问 luis,那么一切都可以正常工作。 怎么了? 我发现问题与 SO 非常相似,但没有答案,我无法在那里发表评论:LUIS: Speech sdk - Github Sample does not returning the intent

【问题讨论】:

    标签: microsoft-cognitive azure-language-understanding


    【解决方案1】:

    好的,在调查了更多之后,我发现recognizer.AddIntent(model,... 行不是关于在模型中创建新意图,而是将意图从 luis 应用程序映射到我们的本地应用程序,以便在这里有一些 id。在 github 上,有人告诉我有 recognizer.AddAllIntents(model); 行用于处理所有意图,这条行一切正常。

    【讨论】:

      猜你喜欢
      • 2012-07-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-07-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多