summaryrefslogtreecommitdiff
path: root/htk_io/init.lua
diff options
context:
space:
mode:
authorYimmon Zhuang <[email protected]>2015-08-26 15:04:05 +0800
committerYimmon Zhuang <[email protected]>2015-08-26 15:04:05 +0800
commit76d64a91f72a19221e7ff9461860b214cbff216f (patch)
treef8bbf650dd2c54c3b3e0797e488723825f171dcb /htk_io/init.lua
parent5c90a652862c464b5bfe2e5777ff20ae25beb4a0 (diff)
parent6495879e76dc0a2efe7b214b58d1d73a4ed3a931 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'htk_io/init.lua')
-rw-r--r--htk_io/init.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/htk_io/init.lua b/htk_io/init.lua
index c4dfff9..b836e15 100644
--- a/htk_io/init.lua
+++ b/htk_io/init.lua
@@ -6,7 +6,6 @@ function TNetReader:__init(global_conf, reader_conf)
self.feat_id = reader_conf.id
self.frm_ext = reader_conf.frm_ext
self.gconf = global_conf
- self.global_transf = reader_conf.global_transf
self.debug = global_conf.debug
if self.debug == nil then
self.debug = false
@@ -31,12 +30,6 @@ function TNetReader:get_data()
local res = {}
-- read HTK feature
local feat_utter = self.feat_repo:cur_utter(self.debug)
- -- global transf
- if self.global_transf ~= nil then
- feat_utter = nerv.speech_utils.global_transf(feat_utter,
- self.global_transf, self.frm_ext,
- self.frm_ext, self.gconf)
- end
res[self.feat_id] = feat_utter
-- add corresponding labels
for id, repo in pairs(self.lab_repo) do