Hello , What I want to do is that , before that I am refering the link https://github.com/cmusphinx/pocketsphinx-android-demo
The dictionary provided in it huge. I want to make some changes in the sence that , can I remove some words from it amd reduce it to extent that it should accept some wors only?
Or can I remove existign dictionary and import my own having around 20-30 words having given its pronountiation in it.
i tried with the second one that removed the whole dictionary and added my own like bellow:
ARE AA R
ARE(2) ER
BACK B AE K
COMPUTER K AH M P Y UW T ER
DO D UW
DOING D UW IH NG
EXACT IH G Z AE K T
HELLO HH AH L OW
HELLO(2) HH EH L OW
HOW HH AW
KNOW N OW
LEFT L EH F T
LIMITED L IH M AH T AH D
LIMITED(2) L IH M IH T IH D
PERSISTENT P ER S IH S T AH N T
RIGHT R AY T
SUPER S UW P ER
SYSTEM S IH S T AH M
TEST T EH S T
THING TH IH NG
WELL W EH L
WHERE W EH R
WHERE(2) HH W EH R
YOU Y UW
but it crashes the application when i add these words only.
How should I proceed. PLease suggest any solution.?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey added logcat into it , but still giving the same problem of crashing the app when make changes in dictionary and works when do not make changes in it and recognizes only the KEYPHRASE given in the declearation:
/ Keyword we are looking for to activate menu /
private static final String KEYPHRASE = "oh mighty";
Itrecognizesonly'oh might'anditkeepdisplaying'oh mighty'orifIwritethere'how are you'itkeepdisplayinghowareyouetc.
Want to eliminate this dependency of recognizing the word present in the KWYPHRASE only
and want to recognize the words thet i will give in the dictionary.
suggest any solution plz.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the cmudict-en-us.dict file , it is saying "File side exceeds configured limit(2560000). Code inside features are not available".
What does it mean ?
what it is giving this message, does it means whatever I have done is nor correct.?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And one more question can I generate my '.md5' file from my language file(.dict file) ?
If possible how could this be possible, is there is any tool fro that..?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello , What I want to do is that , before that I am refering the link https://github.com/cmusphinx/pocketsphinx-android-demo
The dictionary provided in it huge. I want to make some changes in the sence that , can I remove some words from it amd reduce it to extent that it should accept some wors only?
Or can I remove existign dictionary and import my own having around 20-30 words having given its pronountiation in it.
i tried with the second one that removed the whole dictionary and added my own like bellow:
ARE AA R
ARE(2) ER
BACK B AE K
COMPUTER K AH M P Y UW T ER
DO D UW
DOING D UW IH NG
EXACT IH G Z AE K T
HELLO HH AH L OW
HELLO(2) HH EH L OW
HOW HH AW
KNOW N OW
LEFT L EH F T
LIMITED L IH M AH T AH D
LIMITED(2) L IH M IH T IH D
PERSISTENT P ER S IH S T AH N T
RIGHT R AY T
SUPER S UW P ER
SYSTEM S IH S T AH M
TEST T EH S T
THING TH IH NG
WELL W EH L
WHERE W EH R
WHERE(2) HH W EH R
YOU Y UW
but it crashes the application when i add these words only.
How should I proceed. PLease suggest any solution.?
Look in logcat output for the reason of eror.
Hey added logcat into it , but still giving the same problem of crashing the app when make changes in dictionary and works when do not make changes in it and recognizes only the KEYPHRASE given in the declearation:
/ Keyword we are looking for to activate menu /
private static final String KEYPHRASE = "oh mighty";
Want to eliminate this dependency of recognizing the word present in the KWYPHRASE only
and want to recognize the words thet i will give in the dictionary.
suggest any solution plz.
In the source code you can change to start with ngram search instead of keyword search. Detailed answer is here:
http://stackoverflow.com/questions/25949295/cmusphinx-pocketsphinx-recognize-all-or-large-amount-of-english-words/25951895#25951895
In the cmudict-en-us.dict file , it is saying "File side exceeds configured limit(2560000). Code inside features are not available".
What does it mean ?
what it is giving this message, does it means whatever I have done is nor correct.?
http://stackoverflow.com/questions/23057988/file-size-exceeds-configured-limit-2560000-code-insight-features-not-availabl
And one more question can I generate my '.md5' file from my language file(.dict file) ?
If possible how could this be possible, is there is any tool fro that..?
http://cmusphinx.sourceforge.net/wiki/tutorialandroid#including_resource_files