summaryrefslogtreecommitdiff
path: root/htk_io
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2016-03-16 17:54:28 +0800
committerDeterminant <[email protected]>2016-03-16 17:54:28 +0800
commitfe8c56572faa9b13973bceca89036d9d6a2ff560 (patch)
tree08429d3bc49e7f5b60358be2693776f54babde9f /htk_io
parent5d8f596e8fc5be4538f033405079584e4be00f38 (diff)
change name of TNetReader to HTKReader
Diffstat (limited to 'htk_io')
-rw-r--r--htk_io/init.lua6
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