I am using pocketsphinx-android-5prealpha-release with the default configuration and I am having some issues:
With grammar search:
1- The recognizer match a variant in the grammar even for partial phrases, background conversations and even distorted sounds.
2- Can not get hypothesis confidence probability (always zero).
With keyword search:
3- Can not get hypothesis confidence probability
Sample output in the onResult callback:
Result: show my information Prob: 0 Best score: 0
Segment: show my information Prob: -2056 AScore: -7540 LScore: 0 LBack: 0
Questions:
1- How can be used grammar search if there is no way to differentiate false positives?
2- Is there any concrete plan to support confidence scores for grammar search?
3- Are the configuration parameters explained in detail in any page or tutorial?
I am interested in remove noise and configure word insertion penalties.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using pocketsphinx-android-5prealpha-release with the default configuration and I am having some issues:
With grammar search:
1- The recognizer match a variant in the grammar even for partial phrases, background conversations and even distorted sounds.
2- Can not get hypothesis confidence probability (always zero).
With keyword search:
3- Can not get hypothesis confidence probability
Sample output in the onResult callback:
Result: show my information Prob: 0 Best score: 0
Segment: show my information Prob: -2056 AScore: -7540 LScore: 0 LBack: 0
Search:
In https://sourceforge.net/p/cmusphinx/discussion/help/thread/619ac743/#23a1/4e87/e1c3 is said that:
"In grammar search it's always returns within the grammar even if I said some words which doesn't exists in the grammar."
And the answer in https://sourceforge.net/p/cmusphinx/discussion/help/thread/619ac743/#23a1/4e87/e1c3/5321 is answered to is:
"This is an expected behavior."
In https://sourceforge.net/p/cmusphinx/discussion/help/thread/c0732a62/#b115/403e/fc6f/c6d1 is said that:
"Confidence is not supported for grammar searches. Only in keyword or language model searches."
In the FAQs https://cmusphinx.github.io/wiki/faq/#q-can-pocketsphinx-reject-out-of-grammar-words-and-noises is said that:
"As for now pocketsphinx does not support confidence scores and out-of-grammar words detection in grammars. We are working on the implementation but it is not ready yet."
Questions:
1- How can be used grammar search if there is no way to differentiate false positives?
2- Is there any concrete plan to support confidence scores for grammar search?
3- Are the configuration parameters explained in detail in any page or tutorial?
I am interested in remove noise and configure word insertion penalties.