语音服务试用:
开始准备:
首先创建一个语音服务
创建成功后进入该服务
然后找到 密钥和终结点
保存密钥和位置/区域
密钥1和密钥2其中一个就可以
开始代码
首先添加依赖
<dependency>
<groupId>com.microsoft.cognitiveservices.speech</groupId>
<artifactId>client-sdk</artifactId>
<version>1.18.0</version>
</dependency>
我使用时这个依赖是不能直接从我之前常用的maven库下载来的,azure还提供了包含对语音 SDK 的 Maven 存储库的引用
<repositories>
<repository>
<id>maven-cognitiveservices-speech</id>
<name>Microsoft Cognitive Services Speech Maven Repository</name>
<url>https:/