我正在学习Xamarin,我想使用以下URL将语音实现为文本认知服务:
我在行上出错:
// Creates an instance of a speech config with specified subscription key and service region.
// Replace with your own subscription key // and service region (e.g., "westus").
var config = SpeechConfig.FromSubscription("YourSubscriptionKey", "YourServiceRegion");
错误:System.DllNotFoundException: Microsoft.CognitiveServices.Speech.core.dll
谢谢
答案 0 :(得分:1)
您需要安装该库:
https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech/
Install-Package Microsoft.CognitiveServices.Speech -Version 1.6.0