blob: eea73a586450a7518f3879e4297e5bd8a391a12d (
plain) (
tree)
|
|
require 'libspeech'
frm_ext = 5
feat_repo = nerv.TNetFeatureRepo(
"/slfs1/users/mfy43/swb_ivec/train_bp.scp",
"/slfs1/users/mfy43/swb_ivec/plp_0_d_a.conf",
frm_ext)
lab_repo = nerv.TNetLabelRepo(
"/slfs1/users/mfy43/swb_ivec/ref.mlf",
"map",
"/slfs1/users/mfy43/swb_ivec/dict",
"*/",
"lab")
feat_utter = feat_repo:cur_utter()
print(feat_utter)
lab_utter = lab_repo:get_utter(feat_repo, feat_utter:nrow() - frm_ext * 2)
print(lab_utter)
|