I've installed and build Sphinx 2-0.4 on a Windows XP running cygwin. When I try the test in the README file, "sphinx2-test", I get the following:
INFO: hmm_tied_r.c(1327): Read Map: 125716 phones map to 23355 unique senone sequences
INFO: kb_main.c(345): kb_main.c(346): Reading dict file [/usr/local/share/sphinx2/model/lm/turtle/turtle.dic]
INFO: dict.c(464): dict_load: first line of /usr/local/share/sphinx2/model/lm/turtle/turtle.dic was A, expecting '!'
INFO: dict.c(466): dict_load: will assume first line contains a word
]hone_to_id: did not find [AX
'RROR: "dict.c", line 705: 'A': Unknown phone 'AX
ERROR: "dict.c", line 478: Failed to add A to dictionary
]hone_to_id: did not find [EY
'RROR: "dict.c", line 705: 'A(2)': Unknown phone 'EY
ERROR: "dict.c", line 478: Failed to add A(2) to dictionary
]hone_to_id: did not find [T
'RROR: "dict.c", line 705: 'AND': Unknown phone 'T
ERROR: "dict.c", line 478: Failed to add AND to dictionary
]hone_to_id: did not find [T
Any ideas what I might be doing wrong?
Mark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you tried sphinx2-simple? That's what I've always used to test sphinx.
I'm not sure what to say about the errors you're getting. One message says "!" was expected as the first character of your dictionary, but my dictionary starts with "A", like yours, and has always worked fine for me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-09-22
Mark -- this exact question was asked and answered back in April. See the thread in this Help forum entitled "Problem with sphinx3-simple application". Altho the earlier question was with respect to sphinx3, the problem and solution are the same -- reading a Unix-style text file (with \n indicating EOL) on a system that's expecting Windows-style EOL's.
cheers,
jerry wolf
soliloquy learning, inc.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-09-22
I should have mentioned, with respect to the "dict.c(464): dict_load: " log line that this is not an error. The dict_load function expects/allows the initial line of a dictionary file to begin with a "!", but if this is not found, it backs up and processes it as a normal word (often "A").
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've installed and build Sphinx 2-0.4 on a Windows XP running cygwin. When I try the test in the README file, "sphinx2-test", I get the following:
INFO: hmm_tied_r.c(1327): Read Map: 125716 phones map to 23355 unique senone sequences
INFO: kb_main.c(345): kb_main.c(346): Reading dict file [/usr/local/share/sphinx2/model/lm/turtle/turtle.dic]
INFO: dict.c(464): dict_load: first line of /usr/local/share/sphinx2/model/lm/turtle/turtle.dic was A, expecting '!'
INFO: dict.c(466): dict_load: will assume first line contains a word
]hone_to_id: did not find [AX
'RROR: "dict.c", line 705: 'A': Unknown phone 'AX
ERROR: "dict.c", line 478: Failed to add A to dictionary
]hone_to_id: did not find [EY
'RROR: "dict.c", line 705: 'A(2)': Unknown phone 'EY
ERROR: "dict.c", line 478: Failed to add A(2) to dictionary
]hone_to_id: did not find [T
'RROR: "dict.c", line 705: 'AND': Unknown phone 'T
ERROR: "dict.c", line 478: Failed to add AND to dictionary
]hone_to_id: did not find [T
Any ideas what I might be doing wrong?
Mark
Have you tried sphinx2-simple? That's what I've always used to test sphinx.
I'm not sure what to say about the errors you're getting. One message says "!" was expected as the first character of your dictionary, but my dictionary starts with "A", like yours, and has always worked fine for me.
Mark -- this exact question was asked and answered back in April. See the thread in this Help forum entitled "Problem with sphinx3-simple application". Altho the earlier question was with respect to sphinx3, the problem and solution are the same -- reading a Unix-style text file (with \n indicating EOL) on a system that's expecting Windows-style EOL's.
cheers,
jerry wolf
soliloquy learning, inc.
I should have mentioned, with respect to the "dict.c(464): dict_load: " log line that this is not an error. The dict_load function expects/allows the initial line of a dictionary file to begin with a "!", but if this is not found, it backs up and processes it as a normal word (often "A").