summaryrefslogblamecommitdiff
path: root/kaldi_io/example/kaldi_io_example.lua
blob: 8fd068a586885b17d25eb6f5bcc63b7e403f3285 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                                                                                             
require 'kaldi_io'

frm_ext = 5
feat_repo = nerv.KaldiFeatureRepo("ark:/slfs6/users/ymz09/kaldi/src/featbin/copy-feats scp:/slfs6/users/ymz09/swb_ivec/train_bp.scp ark:- |")

feat_utter = feat_repo:cur_utter(true)
print(feat_utter)