summaryrefslogtreecommitdiff
path: root/htk_io
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-08-13 15:57:58 +0800
committerDeterminant <[email protected]>2015-08-13 15:57:58 +0800
commitc177a7549bd90670af4b29fa813ddea32cfe0f78 (patch)
tree63c2c477d638d53baaeaaafc1a099d513b4e51c7 /htk_io
parent184a2710192950fb62269726243a240ff18294eb (diff)
add frm_trim option to global_transf
Diffstat (limited to 'htk_io')
-rw-r--r--htk_io/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/htk_io/init.lua b/htk_io/init.lua
index af92140..c4dfff9 100644
--- a/htk_io/init.lua
+++ b/htk_io/init.lua
@@ -34,7 +34,8 @@ function TNetReader:get_data()
-- global transf
if self.global_transf ~= nil then
feat_utter = nerv.speech_utils.global_transf(feat_utter,
- self.global_transf, self.frm_ext, self.gconf)
+ self.global_transf, self.frm_ext,
+ self.frm_ext, self.gconf)
end
res[self.feat_id] = feat_utter
-- add corresponding labels