summaryrefslogtreecommitdiff
path: root/htk_io
diff options
context:
space:
mode:
Diffstat (limited to 'htk_io')
-rw-r--r--htk_io/init.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/htk_io/init.lua b/htk_io/init.lua
index af1f740..da91980 100644
--- a/htk_io/init.lua
+++ b/htk_io/init.lua
@@ -29,13 +29,11 @@ function TNetReader:get_data()
return nil
end
local res = {}
- local frm_ext = self.frm_ext
- local step = frm_ext * 2 + 1
-- read HTK feature
local feat_utter = self.feat_repo:cur_utter(self.debug)
-- global transf
local transformed = nerv.speech_utils.global_transf(feat_utter,
- self.global_transf, frm_ext, self.gconf)
+ self.global_transf, self.frm_ext, self.gconf)
res[self.feat_id] = transformed
-- add corresponding labels