At the "run" stage, I get the following errors:
...
INFO:
INFO: dict.c(385): Reading main dictionary:
/usr/src/sphinx/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp.sphinx.dic
ERROR: "dict.c", line 265: Line 1: Phone 'ah' is mising in the acoustic model;
word 'a' ignored
ERROR: "dict.c", line 265: Line 2: Phone 'ey' is mising in the acoustic model;
word 'a(2)' ignored
ERROR: "dict.c", line 265: Line 3: Phone 'ey' is mising in the acoustic model;
word 'a.' ignored
ERROR: "dict.c", line 265: Line 4: Phone 'ey' is mising in the acoustic model;
word 'a.'s' ignored
....
There's an error for each line in the dictionary.
A google search for the errors did not help.
The DMP file was created according to instructions on the hello_world page
(listed above) in this way:
$ ./lm3g2dmp $SPHINX_ROOT/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp_3gram.arpa
$SPHINX_ROOT/lm_giga_5k_nvp_3gram
All tests in "make check" in sphinx3 passed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-08-23
Ok. I was able to fix this by replacing each of the phones in the dict file by
their uppercase phones.
For example, I changed the line:
abandoned ah b ae n d ah n d
to:
abandoned AH B AE N D AH N D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to use the hello world example as described in http://sphinx.subwi
ki.com/sphinx/index.php/Hello_World_Decoder_QuickStart_Guide
At the "run" stage, I get the following errors:
...
INFO:
INFO: dict.c(385): Reading main dictionary:
/usr/src/sphinx/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp.sphinx.dic
ERROR: "dict.c", line 265: Line 1: Phone 'ah' is mising in the acoustic model;
word 'a' ignored
ERROR: "dict.c", line 265: Line 2: Phone 'ey' is mising in the acoustic model;
word 'a(2)' ignored
ERROR: "dict.c", line 265: Line 3: Phone 'ey' is mising in the acoustic model;
word 'a.' ignored
ERROR: "dict.c", line 265: Line 4: Phone 'ey' is mising in the acoustic model;
word 'a.'s' ignored
....
There's an error for each line in the dictionary.
A google search for the errors did not help.
The cfgfile is:
-samprate 16000
-hmm /usr/src/sphinx/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd
-dict /usr/src/sphinx/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp.sphinx.dic
-fdict /usr/src/sphinx/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp.sphinx.filler
-lm /usr/src/sphinx/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp_3gram.arpa.DMP
The DMP file was created according to instructions on the hello_world page
(listed above) in this way:
$ ./lm3g2dmp $SPHINX_ROOT/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp_3gram.arpa
$SPHINX_ROOT/lm_giga_5k_nvp_3gram
All tests in "make check" in sphinx3 passed.
Ok. I was able to fix this by replacing each of the phones in the dict file by
their uppercase phones.
For example, I changed the line:
abandoned ah b ae n d ah n d
to:
abandoned AH B AE N D AH N D