因此,我使用Watson ExampleStreaming Speech to Text演示作为UnitySDK的起点 https://github.com/watson-developer-cloud/unity-sdk 它是有效的,但问题是准确性。我在这里读过这篇文章,How can I improve Watson Speech to Text accuracy?
我正在尝试使用WatsonUnitySDK附带的示例脚本"ExampleTextToSpeech“。但是,Watson Text to Speech示例在尝试合成时抛出错误。我认为我不需要这样做,因为它与SDK演示中的代码相同。请找到下面的代码。我已经删除了一些无关的代码位,比如从代码中自定义字。错误可以在代码块的末尾找到。using UnityEngine;
using IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1;