- This topic has 3 replies, 2 voices, and was last updated 4 years, 1 month ago by .
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.
› Forums › Automatic speech recognition › HTK › Using the -S option with HTK tools
What does -S
do in HTK? I know it’s for passing a “script” file, but I don’t understand what that means or what format a script file should be in.
a script file (e.g., it might be called train.scp
) would look something like this – a list of MFCC files with full paths:
/Volumes/Network/courses/sp/data/mfcc/train/s1764494_train.mfcc /Volumes/Network/courses/sp/data/mfcc/train/s1766810_train.mfcc /Volumes/Network/courses/sp/data/mfcc/train/s1770642_train.mfcc
You pass this using the -S flag like this
HRest ...other command line args here... \ -S train.scp \ models/hmm0/$WORD
noting that when you use -S
you no longer pass any MFCC files as command line arguments.
But how do I make train.scp
? Do I have to write it by hand?
At first, yes, make it by hand so you get the format right.
Eventually, you’ll want to make it from a list of USER names. The forum on shell scripting has some tips on how you might do this using a for loop that reads the USER list from one file and creates an HTK script in another file.
Some forums are only available if you are logged in. Searching will only return results from those forums if you log in.
Copyright © 2024 · Balance Child Theme on Genesis Framework · WordPress · Log in