summaryrefslogtreecommitdiff
path: root/kaldi_io/example/kaldi_io_example.lua
diff options
context:
space:
mode:
authorYimmon Zhuang <[email protected]>2015-08-14 16:52:02 +0800
committerYimmon Zhuang <[email protected]>2015-08-14 16:52:02 +0800
commit70d52a3dc6c120fe76e1109e844303e2f5e61872 (patch)
treebe2d7c9bf1b2de736eceb2600a69d6bc2976e0f0 /kaldi_io/example/kaldi_io_example.lua
parent4a3308c3f6b0c7d557e9108832102d57dcc63f8e (diff)
solve dependencies
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)
+