summaryrefslogtreecommitdiff
path: root/kaldi_io/example/kaldi_io_example.lua
diff options
context:
space:
mode:
Diffstat (limited to 'kaldi_io/example/kaldi_io_example.lua')
-rw-r--r--kaldi_io/example/kaldi_io_example.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/kaldi_io/example/kaldi_io_example.lua b/kaldi_io/example/kaldi_io_example.lua
new file mode 100644
index 0000000..8fd068a
--- /dev/null
+++ b/kaldi_io/example/kaldi_io_example.lua
@@ -0,0 +1,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)
+