关键字阈值的最小值是多少

What is the minimum value of keyword threshold

看了Whosebug上的其他Q&A和CMUSphinx官网的资料,看到说要调整threshold,但是没有人具体说threshold是多少。我知道如果阈值较大,那么你有更大的机会获得有效结果,但你可以放弃一些,如果阈值较小,那么你不会失去结果,但你会得到一些无效的......(a在某些情况下很多)。我尝试进行关键字搜索,但找不到合适的关键字阈值值。谁能解释一下这个东西是如何工作的?

具体问题:当你进行关键字搜索时,你调整关键字的阈值,然后当你像这样设置识别器时:

recognizer = SpeechRecognizerRecorderSetup.defaultSetup()
           .setAcousticModel(new File(appDir, "models/hmm/en-us-semi"))
           .setDictionary(new File(appDir, "models/lm/cmu07a.dic"))
           .setRawLogDir(appDir)
           .setKeywordThreshold(1e-40)
           .setAudioStorageDirectory("SpeechTutor")
           .getRecognizer();

如果您已经为每个关键字设置了阈值,那么 setKeywordThreshold() 方法有什么意义?

另一个问题:阈值的范围是多少?我发现最大值是 1.0。但最低限度?

What is the meaning of the setKeywordThreshold() method if you have already set the threshold for every keyword?

被忽略

Another question : What is the rage of the threshold ? I found that the maximam is 1.0. But the minimum ?

1e-50 是最小值。它记录在教程中

http://cmusphinx.sourceforge.net/wiki/tutoriallm#keyword_lists

我推荐你阅读。