Speech Recognition Engines

Flat
question about compiling the .grammar and .voca files
User: xw920
Date: 8/23/2012 3:52 am
Views: 4411
Rating: 10

hello, guys, i just met some problems when i follow the steps in the tutorial,i try to compile the .grammar and .voca files. The grammar file i write is:

S : NS_B SENT NS_E
SENT: CALL_V NAME_N
SENT: DIAL_V DIGIT
 
i just follow the tutorial, and i think there is no error in this file, i write this using the windows wordpad. but after i finish the .voca file and try to compile these two files, it shows an error:

$ mkdfa.pl sample

cannot open" sample.grammar" at /julius/bin/mkdfa.pl line 66

???

--- (Edited on 8/23/2012 3:52 am [GMT-0500] by xw920) ---

Re: question about compiling the .grammar and .voca files
User: xw920
Date: 8/23/2012 5:08 am
Views: 2102
Rating: 6

and when i went to the step2 in the tutorial, i think i met the same problem,i created a prompts file,just just ctrl+c and ctrl+v from the tutorial,but when i use the prompts2wlist ,it shows an error:

$perl voxforge/htk_scripts/prompts2wlist prompts wlist

unable to open prompts file for reading at voxforge/htk_scripts/prompts2wlist line 16

?? i still use the windows wordpad to write the prompts file, i cannot use the wordpad to write this file??? and the tutorial said that," from your voxforge/manual directoy execute the following ..'', does this means that i need ot type:

$ cd voxforge/manual ??

and then i type the ''perl....''??

--- (Edited on 8/23/2012 5:08 am [GMT-0500] by xw920) ---

PreviousNext