VoxForge
Hi brunal2496,
OK, let's backup a step to make sure I understand what is going on here ...
Your errors were as follows:
Error: voca_load_wordlist: line 1: phone "silB" not found
Error: voca_load_wordlist: line 1: phone "silE" not found
These were in Julius v4.0, using a grammar file (not a language model). You've compiled a *word* based acoustic model using HTK. You've defined a silence hmm and called it "sil".
Then, as part of your grammar file (which is actually two files in Julius/Julian) you created a ".voca" file that looks something like this (see Step 1 - Task Grammar in the tutorial):
% NS_B
silB sil
% NS_E
silE sil
% DIAL_V
DIAL dial
% DIGIT
FIVE five
FOUR four
NINE nine
EIGHT eight
ONE one
SEVEN seven
SIX six
THREE three
TWO two
ZERO zerow
And then created a ".grammar" file that looks something like this:
S : NS_B SENTENCE NS_E
SENTENCE: DIAL_V DIGIT
And then compiled your grammar with mkdfa.pl
From Step 1 in the tutorial:
... "S" is the initial sentence symbol. NS_B and NS_E correspond to the silence that occurs just before the utterance you want to recognize and after. "S", "NS_B" and "NS_E" are required in all Julian grammars.
Since you've replaced <s> and </s> (the julius defaults) with "silB" and "silE" in your voca file, then I think you need to use the -silhead and -siltail parameters to tell Julius what you silence models are.
Ken
--- (Edited on 1/15/2008 12:50 pm [GMT-0500] by kmaclean) ---
--- (Edited on 1/16/2008 4:40 am [GMT-0600] by brunal2496) ---
Hi brunal2496,
You might want to check out wordflow. From the Julius forum:
wordflow [is] a simple word recognition software. It recognize words utterance and output it in a graphical Window. It uses JuliusLib and SDL library.
Ken
--- (Edited on 2/4/2008 10:41 pm [GMT-0500] by kmaclean) ---
For the vocabulary file:
% NS_B
silB sil
% NS_E
silE sil
give the wsil option as:
-wsil sil sil NULL
This should now work
--- (Edited on 9/7/2010 3:26 pm [GMT-0500] by Ravishanker) ---
--- (Edited on 9/7/2010 3:27 pm [GMT-0500] by Ravishanker) ---
Replying to an old thread, but I had the same problem. Here's what worked for me:
dictionary:
</s> [] sil
<s> [] sil
julius.conf:
-wsil sil sil sil
--- (Edited on 2/14/2012 8:20 pm [GMT-0600] by psc) ---