VoxForge
When I downloaded htk toolkit on vista windows and tried to type some commands like HParse gram wdnet
The result was as following .what does that mean?
C:\htk\bin.win32>HParse gram wdnet
ERROR [+3110] InitScan: Cannot open Network Defn file gram
FATAL ERROR - Terminating program HParse
Or if I typed only the command without any options I got this result??
C:\htk\bin.win32>HParse
USAGE: HParse [options] netFile latFile
Option Default
-b output lattice in binary ascii
-c set V1.x compatability mode off
-d s output dictionary to file s none
-l include LM log probs in lattice off
-A Print command line arguments off
-C cf Set config file to cf default
-D Display configuration variables off
-S f Set script file to f none
-T N Set trace flags to N 0
-V Print version information off
When I typed any command I did not got any result just errors?
C:\htk\bin.win32>HDMan -m -w wlist -n monophones1 -l dlog dict beep names
ERROR [+5010] InitSource: Cannot open source file beep
ERROR [+1410] CreateBuffer: Can't open file beep
FATAL ERROR - Terminating program HDMan
>tried to type some commands like HParse gram wdnet
did you create a gram file as instructed in the HTK Book?
>Or if I typed only the command without any options I got this result??
>C:\htk\bin.win32>HParse
It is just telling you what options are available for the HParse command
>C:\htk\bin.win32>HDMan -m -w wlist -n monophones1 -l dlog dict beep names
do you have the beep dictionary in your path? The error messages give hints as what the problem might be...
sorry
but i donot understan how i can create a gram file ???and what is the extension of it????
>but i donot understan how i can create a gram file ???
A gram file is the grammar format for HTK. This web site describes how to create grammar files for Julius.
There is a tutorial at the front of the HTK book that describes how to create a gram file. From the HTK book, secion 3.1.1 Step 1 - the Task Grammar:
HTK provides a grammar definition language for specifying simple task grammars such as this. It consists of a set of variable definitions followed by a regular expression describing the words to recognise. For the voice dialling application, a suitable grammar might be
$digit = ONE | TWO | THREE | FOUR | FIVE |
SIX | SEVEN | EIGHT | NINE | OH | ZERO;
$name = [ JOOP ] JANSEN |
[ JULIAN ] ODELL |
[ DAVE ] OLLASON |
[ PHIL ] WOODLAND |
[ STEVE ] YOUNG;
( SENT-START ( DIAL <$digit> | (PHONE|CALL) $name) SENT-END )
where the vertical bars denote alternatives, the square brackets denote optional items and the angle braces denote one or more repetitions.
>whenever i type commands for grammar file as mentioned above r in the
>HTK book 3.1.1 .i am getting the errors
you need to create your grammar file with an editor (e.g. gedit)