online2-wav-nnet3-latgen-faster 在线解码,文件输入输出
decode.sh运行程序
./online2-wav-nnet3-latgen-faster
--do-endpointing=false
--frames-per-chunk=20
--extra-left-context-initial=0
--online=true
--config=exp/chain/tdnn7q_sp_online/conf/online.conf
--min-active=200
--max-active=7000
--beam=15.0
--lattice-beam=6.0
--acoustic-scale=1.0
--word-symbol-table=exp/chain/tdnn7q_sp/graph/words.txt
exp/chain/tdnn7q_sp_online/final.mdl
exp/chain/tdnn7q_sp/graph/HCLG.fst
ark:data/call_center_26s_hires/split1/1/spk2utt
'ark,s,cs:wav-copy scp,p:data/call_center_26s_hires/split1/1/wav.scp ark:- |'
'ark:|lattice-scale --acoustic-scale=10.0 ark:- ark:- | gzip -c >exp/chain/tdnn7q_sp_online/decode_call_center_26s/lat.1.gz'
.ark是数据(二进制文件),.scp是记录对应ark的路