As I mentioned in a previous post, I am trying to create a sample speech recognition app using some uncommon non-English languages, and I would like to use SphinxTrain. I am willing to write up instructions on how to do this if I can get it working. Currently the information is distributed among three documents.
When I run RunAll.pl, an error is thrown during the Baum Welch portion. The end of the span.1.1-1.bw.log file is as follows:
INFO: c:\sphinx4\sphinxtrain\src\programs\bw\main.c(365): Will reestimate means.
INFO: c:\sphinx4\sphinxtrain\src\programs\bw\main.c(367): Will reestimate variances.
INFO: c:\sphinx4\sphinxtrain\src\programs\bw\main.c(369): WIll NOT optionally delete silence in Baum Welch or Viterbi.
INFO: c:\sphinx4\sphinxtrain\src\programs\bw\main.c(377): Will reestimate transition matrices
INFO: c:\sphinx4\sphinxtrain\src\programs\bw\main.c(390): Reading main lexicon: C:/sphinx4/SphinxTrain/span/etc/span.dic
Assertion failed: key != NULL, file c:\sphinx4\sphinxtrain\src\libs\libcommon\hash.c, line 254
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Wed Jun 10 12:57:58 2009
Can anyone suggest what might be going wrong? I am using ActivePerl on Windows XP.
Thanks,
Peter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey, that was it! I got rid of the blank line and it went through. Apparently you need to have a return on each line in the file, but no blank lines at the end. Thanks for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As I mentioned in a previous post, I am trying to create a sample speech recognition app using some uncommon non-English languages, and I would like to use SphinxTrain. I am willing to write up instructions on how to do this if I can get it working. Currently the information is distributed among three documents.
When I run RunAll.pl, an error is thrown during the Baum Welch portion. The end of the span.1.1-1.bw.log file is as follows:
INFO: c:\sphinx4\sphinxtrain\src\programs\bw\main.c(365): Will reestimate means.
INFO: c:\sphinx4\sphinxtrain\src\programs\bw\main.c(367): Will reestimate variances.
INFO: c:\sphinx4\sphinxtrain\src\programs\bw\main.c(369): WIll NOT optionally delete silence in Baum Welch or Viterbi.
INFO: c:\sphinx4\sphinxtrain\src\programs\bw\main.c(377): Will reestimate transition matrices
INFO: c:\sphinx4\sphinxtrain\src\programs\bw\main.c(390): Reading main lexicon: C:/sphinx4/SphinxTrain/span/etc/span.dic
Assertion failed: key != NULL, file c:\sphinx4\sphinxtrain\src\libs\libcommon\hash.c, line 254
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Wed Jun 10 12:57:58 2009
Can anyone suggest what might be going wrong? I am using ActivePerl on Windows XP.
Thanks,
Peter
Could you please give a link to your database so I could reproduce your problem.
Could you check your dictionary which has the blank in the last line?
I met the same error when my dictionary has the blank in the last line.
Hey, that was it! I got rid of the blank line and it went through. Apparently you need to have a return on each line in the file, but no blank lines at the end. Thanks for your help.