diff options
Diffstat (limited to 'htk_io/init.lua')
-rw-r--r-- | htk_io/init.lua | 6 |
1 files 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 |