From fe8c56572faa9b13973bceca89036d9d6a2ff560 Mon Sep 17 00:00:00 2001 From: Determinant Date: Wed, 16 Mar 2016 17:54:28 +0800 Subject: change name of TNetReader to HTKReader --- htk_io/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htk_io/init.lua b/htk_io/init.lua index 1cdabf1..4331bd1 100644 --- a/htk_io/init.lua +++ b/htk_io/init.lua @@ -1,8 +1,8 @@ require 'libhtkio' require 'speech_utils' -local TNetReader = nerv.class("nerv.TNetReader", "nerv.DataReader") +local HTKReader = nerv.class("nerv.HTKReader", "nerv.DataReader") -function TNetReader:__init(global_conf, reader_conf) +function HTKReader:__init(global_conf, reader_conf) self.feat_id = reader_conf.id self.frm_ext = reader_conf.frm_ext self.gconf = global_conf @@ -30,7 +30,7 @@ function TNetReader:__init(global_conf, reader_conf) end end -function TNetReader:get_data() +function HTKReader:get_data() if self.feat_repo:is_end() then return nil end -- cgit v1.2.3-70-g09d2