如何提高 pocketsphinx 开源语音识别 API 对英语的准确性?

how can i improve the accuracy of pocketsphinx open source speech recognition API for English language?

为了将语音转换为文本,我正在使用 cmusphinx 开源 API,它将 .wav 音频格式转换为文本,并使用特定输入语音语言的语言模型

Pocket Sphinx 精度完全基于所使用的模型。为了获得更好的结果,请尝试根据目标用户训练您的声学模型。 如果您不想训练自己的模型,请尝试更改 feat.params 的各种参数,例如 -cmninit

另外,尽量把recognizer.setKeywordThreshold()调到最小,我比较喜欢recognizer.setKeywordThreshold(1e-40f)