One letter for phoneme is for new languages when you do not have acoustic model or phonetic dictionary. For English you have to use cmudict rules and conventions since it is what model was trained for.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 38: Phone 'AA' is mising in the acoustic model; word 'aa' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 39: Phone 'AE' is mising in the acoustic model; word 'ae' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 40: Phone 'AH' is mising in the acoustic model; word 'ah' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 41: Phone 'AO' is mising in the acoustic model; word 'ao' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 42: Phone 'AW' is mising in the acoustic model; word 'aw' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 43: Phone 'AY' is mising in the acoustic model; word 'ay' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 44: Phone 'B' is mising in the acoustic model; word 'b' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 45: Phone 'CH' is mising in the acoustic model; word 'ch' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 46: Phone 'D' is mising in the acoustic model; word 'd' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 47: Phone 'DH' is mising in the acoustic model; word 'dh' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 48: Phone 'EH' is mising in the acoustic model; word 'eh' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 49: Phone 'ER' is mising in the acoustic model; word 'er' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 50: Phone 'EY' is mising in the acoustic model; word 'ey' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 51: Phone 'F' is mising in the acoustic model; word 'f' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 52: Phone 'G' is mising in the acoustic model; word 'g' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 53: Phone 'HH' is mising in the acoustic model; word 'hh' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 54: Phone 'IH' is mising in the acoustic model; word 'ih' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 55: Phone 'IY' is mising in the acoustic model; word 'iy' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 56: Phone 'JH' is mising in the acoustic model; word 'jh' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 57: Phone 'K' is mising in the acoustic model; word 'k' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 58: Phone 'L' is mising in the acoustic model; word 'l' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 59: Phone 'M' is mising in the acoustic model; word 'm' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 60: Phone 'N' is mising in the acoustic model; word 'n' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 61: Phone 'NG' is mising in the acoustic model; word 'ng' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 62: Phone 'OW' is mising in the acoustic model; word 'ow' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 63: Phone 'OY' is mising in the acoustic model; word 'oy' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 64: Phone 'P' is mising in the acoustic model; word 'p' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 65: Phone 'R' is mising in the acoustic model; word 'r' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 66: Phone 'S' is mising in the acoustic model; word 's' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 67: Phone 'SH' is mising in the acoustic model; word 'sh' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 69: Phone 'S' is mising in the acoustic model; word 'ss' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 70: Phone 'T' is mising in the acoustic model; word 't' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 71: Phone 'TH' is mising in the acoustic model; word 'th' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 72: Phone 'UH' is mising in the acoustic model; word 'uh' ignored
04-19 18:16:25.436 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 73: Phone 'UW' is mising in the acoustic model; word 'uw' ignored
04-19 18:16:25.436 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 74: Phone 'V' is mising in the acoustic model; word 'v' ignored
04-19 18:16:25.436 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 75: Phone 'W' is mising in the acoustic model; word 'w' ignored
04-19 18:16:25.436 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 76: Phone 'Y' is mising in the acoustic model; word 'y' ignored
04-19 18:16:25.436 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 77: Phone 'Z' is mising in the acoustic model; word 'z' ignored
04-19 18:16:25.436 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 78: Phone 'ZH' is mising in the acoustic model; word 'zh' ignored
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Mr. Nikolay,
I need help at the phonetics. I've set it by 1 in the dictionary sample: YES Y E S
but it gives me an error which is "Phone is missing Y".
any idea about this error and how can I resolve it?
It depends on what acoustic model do you use.
I'm using the en-us-ptm provided by the pocketsphinx demo.
Edit: I assume that's the acoustic model of the demo.
Last edit: Randall Castillo 2016-10-26
It probably says that E phone is missing, not Y. In cmudict yes is expaned as Y EH S, not Y E S.
Oh yes, my bad. It was letter E not Y.
How can I solve it?
Edit: Actually we're trying to add some exotic words and on your website it says that making the phonetic one letter each gives great result.
Last edit: Randall Castillo 2016-10-26
One letter for phoneme is for new languages when you do not have acoustic model or phonetic dictionary. For English you have to use cmudict rules and conventions since it is what model was trained for.
Oh I see, that's why. Would you please give me a complete guide on how to add a new language in pocketsphinx?
You have asked the same question in different place
https://sourceforge.net/p/cmusphinx/discussion/sphinx4/thread/d62771a9/
Kindly help me..
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 38: Phone 'AA' is mising in the acoustic model; word 'aa' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 39: Phone 'AE' is mising in the acoustic model; word 'ae' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 40: Phone 'AH' is mising in the acoustic model; word 'ah' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 41: Phone 'AO' is mising in the acoustic model; word 'ao' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 42: Phone 'AW' is mising in the acoustic model; word 'aw' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 43: Phone 'AY' is mising in the acoustic model; word 'ay' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 44: Phone 'B' is mising in the acoustic model; word 'b' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 45: Phone 'CH' is mising in the acoustic model; word 'ch' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 46: Phone 'D' is mising in the acoustic model; word 'd' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 47: Phone 'DH' is mising in the acoustic model; word 'dh' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 48: Phone 'EH' is mising in the acoustic model; word 'eh' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 49: Phone 'ER' is mising in the acoustic model; word 'er' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 50: Phone 'EY' is mising in the acoustic model; word 'ey' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 51: Phone 'F' is mising in the acoustic model; word 'f' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 52: Phone 'G' is mising in the acoustic model; word 'g' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 53: Phone 'HH' is mising in the acoustic model; word 'hh' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 54: Phone 'IH' is mising in the acoustic model; word 'ih' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 55: Phone 'IY' is mising in the acoustic model; word 'iy' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 56: Phone 'JH' is mising in the acoustic model; word 'jh' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 57: Phone 'K' is mising in the acoustic model; word 'k' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 58: Phone 'L' is mising in the acoustic model; word 'l' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 59: Phone 'M' is mising in the acoustic model; word 'm' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 60: Phone 'N' is mising in the acoustic model; word 'n' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 61: Phone 'NG' is mising in the acoustic model; word 'ng' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 62: Phone 'OW' is mising in the acoustic model; word 'ow' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 63: Phone 'OY' is mising in the acoustic model; word 'oy' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 64: Phone 'P' is mising in the acoustic model; word 'p' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 65: Phone 'R' is mising in the acoustic model; word 'r' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 66: Phone 'S' is mising in the acoustic model; word 's' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 67: Phone 'SH' is mising in the acoustic model; word 'sh' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 69: Phone 'S' is mising in the acoustic model; word 'ss' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 70: Phone 'T' is mising in the acoustic model; word 't' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 71: Phone 'TH' is mising in the acoustic model; word 'th' ignored
04-19 18:16:25.435 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 72: Phone 'UH' is mising in the acoustic model; word 'uh' ignored
04-19 18:16:25.436 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 73: Phone 'UW' is mising in the acoustic model; word 'uw' ignored
04-19 18:16:25.436 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 74: Phone 'V' is mising in the acoustic model; word 'v' ignored
04-19 18:16:25.436 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 75: Phone 'W' is mising in the acoustic model; word 'w' ignored
04-19 18:16:25.436 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 76: Phone 'Y' is mising in the acoustic model; word 'y' ignored
04-19 18:16:25.436 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 77: Phone 'Z' is mising in the acoustic model; word 'z' ignored
04-19 18:16:25.436 3911-3997/com.example.manuel.lightbulb E/cmusphinx: ERROR: "dict.c", line 195: Line 78: Phone 'ZH' is mising in the acoustic model; word 'zh' ignored
i am new in this...i have created grammer and dict also...but it showing above error.
The dictionary you are trying to use does not match the acoustic model, you need to fix the dictionary.