summaryrefslogtreecommitdiff
path: root/kaldi_io
diff options
context:
space:
mode:
authorYimmon Zhuang <[email protected]>2015-09-18 22:18:47 +0800
committerYimmon Zhuang <[email protected]>2015-09-18 22:18:47 +0800
commit74809198a31cb7d902de23c217ca7492b5f8a29b (patch)
treef14bf7081491f4b40b2a9fcccc17228b0142181f /kaldi_io
parent84a91188a4c6e660c1c3d5df2f450c177f4e2fe8 (diff)
mpe implement
Diffstat (limited to 'kaldi_io')
-rw-r--r--kaldi_io/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/kaldi_io/init.lua b/kaldi_io/init.lua
index 3fc5b10..b7e6da8 100644
--- a/kaldi_io/init.lua
+++ b/kaldi_io/init.lua
@@ -66,6 +66,7 @@ function KaldiReader:get_data()
rearranged:copy_toh(feat_utter)
end
res[self.feat_id] = feat_utter
+ res["key"] = self.feat_repo:key()
-- add corresponding labels
for id, repo in pairs(self.lab_repo) do
local lab_utter = repo:get_utter(self.feat_repo,