diff options
author | Determinant <[email protected]> | 2016-05-08 11:40:13 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2016-05-08 11:40:13 +0800 |
commit | 3101d1f9c1b2e31fbde75c1c9de5f6872340f5f7 (patch) | |
tree | 2f6bcf926ab3ebdedb5e4920a884ac5031e698b7 /kaldi_io/src/init.c | |
parent | 2da71705cab5a583c642441f8321ddbaf0c7cb42 (diff) |
change decoder API (adapted to `trainer.lua`); remove redundant options in kaldi_io
Diffstat (limited to 'kaldi_io/src/init.c')
-rw-r--r-- | kaldi_io/src/init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kaldi_io/src/init.c b/kaldi_io/src/init.c index e8b4ea6..efe3ff7 100644 --- a/kaldi_io/src/init.c +++ b/kaldi_io/src/init.c @@ -99,8 +99,7 @@ static const luaL_Reg lookup_feat_repo_methods[] = { static int label_repo_new(lua_State *L) { const char *targets_rspecifier = luaL_checkstring(L, 1); - const char *fmt = luaL_checkstring(L, 2); - KaldiLabelRepo *repo = kaldi_label_repo_new(targets_rspecifier, fmt); + KaldiLabelRepo *repo = kaldi_label_repo_new(targets_rspecifier); luaT_pushudata(L, repo, nerv_kaldi_label_repo_tname); return 1; } |