c# - Ubuntu MATE ARM32 上的 Azure 语音 SDK 意图识别错误

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

我正在尝试使用 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。

最佳答案

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

关于c# - Ubuntu MATE ARM32 上的 Azure 语音 SDK 意图识别错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61386538/

相关文章:

c# - StreamReader(string filepath) 和 StreamReader(Stream _stream) 的区别

python - 意外 apt-get remove python 后如何恢复

ASP.NET Core ApiVersioning 更改中间件层次结构

c# - 使用 Entity Framework Core 进行全文搜索

asp.net-core - 动态加载 ASP.NET Core 程序集

c# - 底层连接已关闭: An unexpected error occurred on a send on

c# - 为什么不能将 ListA 从从线程转移到主线程?

c# - 退出应用程序时保存游戏

ubuntu - 如何构建 glibc 包的数学库?

python - 通过python监控另一个服务器状态?最好的方法是telnet还是使用socket?