using copy-feats-to-htk

314 views
Skip to first unread message

Johnson

unread,
Jan 4, 2016, 1:37:25 AM1/4/16
to kaldi-help
hi, i'm new to kaldi. this might be a silly question.
I'm looking for some function that can help me transform MFCC features vector sequences(ark) to a htk file (for further use)
i am recommended to use copy-feats-to-htk function. but I'm not really sure if it really fits my problem, and how does it work.

as I saw the example:
Example: copy-feats-to-htk --output-dir=/tmp/HTK-features --output-ext=fea scp:feats.scp\n" I understand it needs places for output file. but I know(?) that it also needs utterance id(key) in input table, that is, the "feat.scp" (?) corresponding to the htk file name.
is there any clear format for such feat.scp? or can I just put the MFCC.ark file there, whose format is like 
sequence-id1[
...MFCC...
...MFCC...
]
sequence-id2[
...
]
in reality it's something like:
03-1240-0000  [
  -18.36537 -2.642977 9.767048 0.6864552 16.00624 19.1877 16.89642 1.595239 7.947354 0.612493 2.782156 8.070449 1.431333 
  -18.05505 -2.775572 8.892736 3.382278 18.25628 16.85995 15.55509 11.35628 12.79548 2.643232 -2.431808 3.907084 5.816756 
...
]?
thanks

Daniel Povey

unread,
Jan 4, 2016, 1:41:34 AM1/4/16
to kaldi-help
Please read http://kaldi-asr.org/doc/io.html
to understand what's going on.
Dan


--
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages