【问题标题】:How to get more than one speech results in sphinx 4 using SpeechResult api?如何使用 SpeechResult api 在 sphinx 4 中获得多个语音结果?
【发布时间】:2015-09-28 10:06:26
【问题描述】:

result.getHypothesis() 并不总是给我最好的结果,所以我想要识别后的多个结果。我尝试了下面的代码,它返回一个空数组。识别器是 LiveSpeechRecognizer 的一个对象。

SpeechResult result = recognizer.getResult();
System.out.println( result.getNbest(10));

【问题讨论】:

    标签: speech-recognition speech cmusphinx sphinx4 jsapi


    【解决方案1】:

    如果您使用语法,则尚不支持 n-best。如果您使用语言模型,您应该会看到 n-best 结果,如 Transcriber 演示中所示。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-08-31
      • 2011-05-26
      • 2011-06-19
      • 2011-10-21
      • 1970-01-01
      • 2020-07-07
      • 1970-01-01
      • 2012-03-25
      相关资源
      最近更新 更多