【问题标题】:Azure Speech SDK Intent recognition Error on Ubuntu MATE ARM32Ubuntu MATE ARM32 上的 Azure 语音 SDK 意图识别错误
【发布时间】:2020-04-23 11:49:33
【问题描述】:

我正在尝试使用 Ubuntu MATE ARM32(在 Raspberry Pi 上)上的 Speech SDK 进行基本的意图识别。 docs 说版本 1.11 应该可以工作,但我收到以下错误:

Unhandled exception. System.ApplicationException: Exception with an error code: 0x8 (SPXERR_FILE_OPEN_FAILED)
   at Microsoft.CognitiveServices.Speech.Internal.SpxExceptionThrower.ThrowIfFail(IntPtr hr)
   at Microsoft.CognitiveServices.Speech.KeywordRecognitionModel.FromFile(String fileName)
   at SmartHomeVoice.Services.ListeningService.StartAsync(CancellationToken cancellationToken) in E:\Efraim's stuff\SmartHomeVoice\SmartHomeVoice\Services\ListeningService.cs:line 142
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at SmartHomeVoice.Program.Main() in E:\Efraim's stuff\SmartHomeVoice\SmartHomeVoice\Program.cs:line 19
Aborted

我正在使用 C# 和 .Net Core 3.1,并且我在 Pi 中插入了一个网络摄像头,我将其设置为通过 GUI 输入的默认音频。 Ubuntu 版本是 18.04。

【问题讨论】:

    标签: c# ubuntu .net-core azure-speech


    【解决方案1】:

    此问题已解决 here。问题是我没有为关键字表文件提供绝对路径。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-03-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-25
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多