I need some help in figuring the source and/or how to debug this error shown below. I am using pocketsphinx for running recognition on the app.
I/cmusphinx: INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
I/SpeechRecognizer: Stop recognition
E/cmusphinx: ERROR: "ngram_search.c", line 1139: Couldn't find <s> in first frame
Application terminated.
I get this error randomly when my voice app is running but I don’t speak for a while.
Can you send me pointers to prevent this issue from appearing again on my android device??
Regards
Gaurav
Last edit: Gaurav Chopra 2019-03-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Too short utterance can always be a use case. I didn't exactly get the part of fixing pocketsphinx sources and additional checks. Do I need to add something in the dictionary or lm file?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Too short utterance can always be a use case. I didn't exactly get the part of fixing pocketsphinx sources and additional checks. Do I need to add something in the dictionary or lm file?
Last edit: Arush Nagpal 2019-03-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need some help in figuring the source and/or how to debug this error shown below. I am using pocketsphinx for running recognition on the app.
I/cmusphinx: INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
I/SpeechRecognizer: Stop recognition
E/cmusphinx: ERROR: "ngram_search.c", line 1139: Couldn't find <s> in first frame
Application terminated.
I get this error randomly when my voice app is running but I don’t speak for a while.
Can you send me pointers to prevent this issue from appearing again on my android device??
Regards
Gaurav
Last edit: Gaurav Chopra 2019-03-05
This might be caused by too short utterance. Could be fixed in pocketsphinx sources with addtional checks.
Too short utterance can always be a use case. I didn't exactly get the part of fixing pocketsphinx sources and additional checks. Do I need to add something in the dictionary or lm file?
Too short utterance can always be a use case. I didn't exactly get the part of fixing pocketsphinx sources and additional checks. Do I need to add something in the dictionary or lm file?
Last edit: Arush Nagpal 2019-03-13
Hi Nickolay, Appreciate your help if you an suggest what kind of validations I need to put in PocketShinx Source.