I'm trying to do MLLR speaker adaption, which requires running Baum-Welch (BW) to collect statistics. BW is having trouble with my filler dictionary.
I'm working in Ubuntu and gedit. When I hit 'return' after the last line of the filler dictionary, so that the cursor is on a new blank line when I save the file, I get the following error message:
Actually I think you have problems both in usual dictionary and in filler dictionary. When you fix filler dictionary issue, usual dictionary issue appears. Please check both.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I run BW with these, I get this error after it reads the filler dict:
>>
INFO: main.c(402): Reading filler lexicon: /path/...
bw: hash.c:254: hash_enter: Assertion `key != ((void *)0)' failed.
Aborted
>>
If you need more files, let me know...
Thanks again,
D.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm trying to do MLLR speaker adaption, which requires running Baum-Welch (BW) to collect statistics. BW is having trouble with my filler dictionary.
I'm working in Ubuntu and gedit. When I hit 'return' after the last line of the filler dictionary, so that the cursor is on a new blank line when I save the file, I get the following error message:
>>
bw: hash.c:254: hash_enter: Assertion `key != ((void *)0)' failed.
Aborted
>>
On the other hand, when I don't hit return at the end of the filler dictionary, I get this message:
>>
FATAL_ERROR: "corpus.c", line 262: input string too long. Truncated.
>>
In both cases, BW aborts and doesn't produce any results. Does anyone know what's going on? Suggestions?
Can I provide you with more information?
Many thanks,
Dave
> Suggestions?
Don't use gedit?
Actually I think you have problems both in usual dictionary and in filler dictionary. When you fix filler dictionary issue, usual dictionary issue appears. Please check both.
Hmm... ok... I've tried editing the files using nano instead of gedit. Same problems. Is there another editor I should use?
I've tried all the permutations of extra 'returns', and not, in both dictionary files. Still can't get it to run...
Any other suggestions? Could I post the dictionary files somewhere for you to look at?
Sorry to for the trouble... I really do appreciate the help...
Best,
Dave
Please just share the files you are trying and give us a link
Ok, here are my files.
Main dictionary: http://www.music.mcgill.ca/~benson/sphinx/alpha_newW.dict
Filler dictionary: http://www.music.mcgill.ca/~benson/sphinx/ronFiller.dict
When I run BW with these, I get this error after it reads the filler dict:
>>
INFO: main.c(402): Reading filler lexicon: /path/...
bw: hash.c:254: hash_enter: Assertion `key != ((void *)0)' failed.
Aborted
>>
If you need more files, let me know...
Thanks again,
D.
Your filler file has emtpy newline in the end. If you still fail to find a good editor, run this:
head -n 5 ronFiller.dict > ronFiller.dict.fixed
mv ronFiller.dict.fixed ronFiller.dict