From 2da71705cab5a583c642441f8321ddbaf0c7cb42 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 18 Apr 2016 12:40:18 +0800 Subject: support SeqBuffer decoding --- kaldi_io/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kaldi_io') 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 -- cgit v1.2.3-70-g09d2