问题描述
一些背景信息-我正在使用jsgf语法为android创建一个Pocketsphinx应用程序(尽管问题仍然存在于fsg语法中).我的代码基于pocketsphinx demo for android .
A little bit of context - I'm creating a pocketsphinx application for android, using jsgf grammars (though the problem persists with fsg grammars as well). My code is based on the pocketsphinx demo for android.
Pocketsphinx产生了一个奇怪的问题,即仅对引擎进行几次查询后,准确性似乎就下降了.第一个查询具有近乎完美的准确性-它可以毫无困难地识别相对复杂且令人费解的短语.但是,第二个和第三个识别几乎不能拾取两个音节的单词,并且通过对引擎的第四个查询,它根本无法生成假设.
Pocketsphinx is producing a bizarre issue where the accuracy appears to be degrading after only a couple of queries to the engine. The first query has near perfect accuracy - it can recognize relatively complicated and convoluted phrases without difficulty. However the second, and third recognitions can barely pick up a two syllable word, and by the fourth query to the engine, it simply fails to generate a hypothesis.
我不太确定是什么导致了该问题,原始演示似乎运行良好,除了添加语法外,我几乎没有更改语音引擎的配置.无论如何,有没有其他人曾经经历过这样的事情,或者对我可以采取什么补救措施提出建议?
I'm not quite sure whats causing the problem, the original demo appeared to work fine, and I have hardly altered the configuration of the speech engine, other than adding a grammar. Anyway, has anyone else ever experienced something like this, or even have a suggestion as to what I could try to remedy this?
谢谢
推荐答案
问题解决了,原来我需要-dither选项来说明零能量区域",这要感谢Nikolay Shmyrev的解决方法 https://sourceforge.net/projects/cmusphinx/forums/forum/5471/topic/5507338
Problem solved, turns out I needed the -dither option to account for 'zero energy regions' Thanks to Nikolay Shmyrev for the solution https://sourceforge.net/projects/cmusphinx/forums/forum/5471/topic/5507338
这篇关于怪异的口袋狮身人面像精度下降的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!