问题描述
我想使用 azure 语音到文本为单个语音获得多个替代转录。
我已经设置了 format=detailed 参数,并且响应确实包含一个名为 NBest 的字段。但该字段只有每个都包含一个转录。
我还需要在输入端设置什么吗?
谢谢。
解决方法
我加入评论是为了确保您使用的是什么机制:
如果您正在使用 Speech CLI 或想尝试一下,请执行以下操作:
第一组:
spx config recognize @default.output --set @@output.all.detailed
然后:
spx recognize --file FILE --output all itn text --output all file type json
或
spx recognize --file FILE --output all lexical text --output all file type json