diff options
author | Determinant <[email protected]> | 2016-04-18 12:40:18 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2016-04-18 12:40:18 +0800 |
commit | 2da71705cab5a583c642441f8321ddbaf0c7cb42 (patch) | |
tree | 44a0355d00f6be28284b9b99622f93ae06155541 /kaldi_io | |
parent | e6d9e562fa42ddafac601be12da4c4faee85dd4d (diff) |
Diffstat (limited to 'kaldi_io')
-rw-r--r-- | kaldi_io/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kaldi_io/init.lua b/kaldi_io/init.lua index 751247a..bec2589 100644 --- a/kaldi_io/init.lua +++ b/kaldi_io/init.lua @@ -80,8 +80,9 @@ function KaldiReader:get_data() end end res[self.feat_id] = feat_utter + self.key = self.feat_repo:key() if self.need_key then - res["key"] = self.feat_repo:key() + res["key"] = self.key end -- add corresponding labels for id, repo in pairs(self.lab_repo) do |