1. 程式人生 > >kaldi test for yesno

kaldi test for yesno

OS: Ubuntu 18.08

Install Steps:

1 git clone

2 cd tools/extra/ check_depend.sh

3 sudo apt-get softwares needed by step2

4 sudo apt-get install libatlas-dev

ubuntu18.08 's libatlas-dev version is newer than kaldi needed, so this libatlas-dev installation can be omited.

5 cd src/

make depend

make

6 cd egs/ means cd examples/

7 cd yesno/s3

run.sh

Result:

decode.sh: feature type is delta
steps/diagnostic/analyze_lats.sh --cmd utils/run.pl exp/mono0a/graph_tgpr exp/mono0a/decode_test_yesno
steps/diagnostic/analyze_lats.sh: see stats in exp/mono0a/decode_test_yesno/log/analyze_alignments.log
Overall, lattice depth (10,50,90-percentile)=(1,1,2) and mean=1.2
steps/diagnostic/analyze_lats.sh: see stats in exp/mono0a/decode_test_yesno/log/analyze_lattice_depth_stats.log
local/score.sh --cmd utils/run.pl data/test_yesno exp/mono0a/graph_tgpr exp/mono0a/decode_test_yesno
local/score.sh: scoring with word insertion penalty=0.0,0.5,1.0
%WER 0.00 [ 0 / 232, 0 ins, 0 del, 0 sub ] exp/mono0a/decode_test_yesno/wer_10_0.0

where WER=word error rate, 0% means all are right.