Speech Recognition Engines

Flat
Re: Julius v4.0 : isolated word reco : phone silB not found
User: kmaclean
Date: 1/15/2008 11:50 am
Views: 529
Rating: 43

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) ---

Re: Julius v4.0 : isolated word reco : phone silB not found
User: brunal2496
Date: 1/16/2008 4:40 am
Views: 388
Rating: 25
Hi, thanks again for your help, but I still have the same error. Again, as I said, I don't have any problem using julius with a grammar and a voca, I only can't run Julius 4.0 in isolated word recognition mode. Finally I was able to run run julius using -w mode with the option -wsil sil sil sp. But it doesn't fit to my needs as I need to stay on a vowel of a word more than 10sec to recognize, otherwise I get a "no survived word found" error. So I decided to keep using julius with my simple grammar and a voca.

--- (Edited on 1/16/2008 4:40 am [GMT-0600] by brunal2496) ---

Re: Julius v4.0 : isolated word reco : phone silB not found
User: kmaclean
Date: 2/4/2008 9:41 pm
Views: 1195
Rating: 29

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) ---

Re: Julius v4.0 : isolated word reco : phone silB not found
User: Ravishanker
Date: 9/7/2010 3:26 pm
Views: 310
Rating: 7

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) ---

Re: Julius v4.0 : isolated word reco : phone silB not found
User: psc
Date: 2/14/2012 8:19 pm
Views: 2849
Rating: 6

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

Regards

--- (Edited on 2/14/2012 8:20 pm [GMT-0600] by psc) ---

PreviousNext