Comments

Flat
hi
User: mmm
Date: 3/8/2010 2:26 pm
Views: 6343
Rating: 17

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

Re: hi
User: kmaclean
Date: 3/9/2010 9:01 am
Views: 105
Rating: 15

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

Re: hi
User: mmm
Date: 3/9/2010 9:16 am
Views: 149
Rating: 17

sorry

but i donot understan how i can create a gram file ???and what is the extension of it????

 

Re: hi
User: Visitor
Date: 3/11/2010 4:39 am
Views: 175
Rating: 14

please,answer me

Re: hi
User: kmaclean
Date: 3/22/2010 8:32 pm
Views: 164
Rating: 12

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

Re: getting errors
User: swaroop
Date: 9/6/2011 12:52 am
Views: 128
Rating: 14
whenever i type commands for grammar file as mentioned above r in the HTK book 3.1.1 .i am getting the errors like
bash: ONE :command not found
bash: TWO :command not found
bash: THREE:command not found
bash: FOUR :command not found
bash: FIVE:command not found
bash: SIX :command not found
bash: SEVEN :command not found
bash: EIGHT :command not found
bash: NINE :command not found
bash: ZERO :command not found....

I am beginner to HTK....can u please explain....how can i create grammar file.
Re: getting errors
User: kmaclean
Date: 9/6/2011 10:15 pm
Views: 276
Rating: 14

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

Re: getting errors
User: Anonym
Date: 11/21/2013 10:35 pm
Views: 119
Rating: 6

I think you need to mention the extention of the file (.txt, .doc, etc) while you compile the file

PreviousNext