Commit d015d7f5 authored by Minhua Wu's avatar Minhua Wu
Browse files

trunk: fix prepare dict script

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@4808 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 8a6757bd
......@@ -6,27 +6,27 @@
# GMM and SGMM numbers.
# for x in exp/{mono,tri,sgmm}*/decode*; do [ -d $x ] && grep WER $x/wer_* | utils/best_wer.sh; done 2>/dev/null
# for x in exp/{mono,tri,sgmm}*/decode*; do [ -d $x ] && grep Sum $x/score_*/*.sys | utils/best_wer.sh; done 2>/dev/null
%WER 36.1 | 1831 21395 | 66.9 23.7 9.3 3.1 36.1 68.3 | exp/tri1/decode_eval2000_nopp_sw1_tg/score_12/eval2000.ctm.swbd.filt.sys
%WER 32.6 | 1831 21395 | 70.5 21.1 8.4 3.1 32.6 67.0 | exp/tri2/decode_eval2000_nopp_sw1_tg/score_12/eval2000.ctm.swbd.filt.sys
%WER 26.1 | 1831 21395 | 76.4 16.8 6.8 2.5 26.1 63.8 | exp/tri3/decode_eval2000_nopp_sw1_tg/score_13/eval2000.ctm.swbd.filt.sys
%WER 26.0 | 1831 21395 | 76.5 16.8 6.6 2.5 26.0 63.9 | exp/tri3/decode_eval2000_sw1_tg/score_13/eval2000.ctm.swbd.filt.sys
%WER 20.3 | 1831 21395 | 81.8 12.8 5.4 2.1 20.3 57.9 | exp/tri4/decode_eval2000_sw1_fsh_fg/score_14/eval2000.ctm.swbd.filt.sys
%WER 22.0 | 1831 21395 | 80.2 14.0 5.9 2.2 22.0 59.7 | exp/tri4/decode_eval2000_sw1_tg/score_14/eval2000.ctm.swbd.filt.sys
%WER 30.1 | 1831 21395 | 73.1 19.6 7.3 3.2 30.1 65.0 | exp/tri4/decode_eval2000_sw1_tg.si/score_14/eval2000.ctm.swbd.filt.sys
%WER 20.5 | 1831 21395 | 81.5 13.1 5.4 2.0 20.5 57.8 | exp/tri4_mmi_b0.1/decode_eval2000_1.mdl_sw1_tg/score_13/eval2000.ctm.swbd.filt.sys
%WER 19.6 | 1831 21395 | 82.2 12.3 5.5 1.8 19.6 56.4 | exp/tri4_mmi_b0.1/decode_eval2000_2.mdl_sw1_tg/score_14/eval2000.ctm.swbd.filt.sys
%WER 19.4 | 1831 21395 | 82.6 12.3 5.1 2.0 19.4 56.6 | exp/tri4_mmi_b0.1/decode_eval2000_3.mdl_sw1_tg/score_12/eval2000.ctm.swbd.filt.sys
%WER 19.2 | 1831 21395 | 82.8 12.1 5.1 2.0 19.2 55.9 | exp/tri4_mmi_b0.1/decode_eval2000_4.mdl_sw1_tg/score_12/eval2000.ctm.swbd.filt.sys
%WER 20.7 | 1831 21395 | 81.4 13.1 5.5 2.1 20.7 58.7 | exp/tri4_fmmi_b0.1/decode_eval2000_it4_sw1_tg/score_13/eval2000.ctm.swbd.filt.sys
%WER 19.6 | 1831 21395 | 82.3 12.3 5.4 1.9 19.6 56.8 | exp/tri4_fmmi_b0.1/decode_eval2000_it5_sw1_tg/score_13/eval2000.ctm.swbd.filt.sys
%WER 19.1 | 1831 21395 | 82.7 12.0 5.3 1.8 19.1 55.9 | exp/tri4_fmmi_b0.1/decode_eval2000_it6_sw1_tg/score_13/eval2000.ctm.swbd.filt.sys
%WER 19.1 | 1831 21395 | 83.1 12.1 4.9 2.1 19.1 56.1 | exp/tri4_fmmi_b0.1/decode_eval2000_it7_sw1_tg/score_11/eval2000.ctm.swbd.filt.sys
%WER 19.1 | 1831 21395 | 82.9 12.1 5.1 2.0 19.1 56.8 | exp/tri4_fmmi_b0.1/decode_eval2000_it8_sw1_tg/score_12/eval2000.ctm.swbd.filt.sys
%WER 19.0 | 1831 21395 | 82.9 12.0 5.0 2.0 19.0 56.1 | exp/tri4_fmmi_b0.1/decode_eval2000_it4_sw1_fsh_fg/score_13/eval2000.ctm.swbd.filt.sys
%WER 17.7 | 1831 21395 | 83.8 11.2 5.0 1.5 17.7 54.7 | exp/tri4_fmmi_b0.1/decode_eval2000_it5_sw1_fsh_fg/score_14/eval2000.ctm.swbd.filt.sys
%WER 17.4 | 1831 21395 | 84.0 10.9 5.1 1.5 17.4 54.3 | exp/tri4_fmmi_b0.1/decode_eval2000_it6_sw1_fsh_fg/score_14/eval2000.ctm.swbd.filt.sys
%WER 17.4 | 1831 21395 | 84.2 10.8 5.0 1.6 17.4 54.4 | exp/tri4_fmmi_b0.1/decode_eval2000_it7_sw1_fsh_fg/score_13/eval2000.ctm.swbd.filt.sys
%WER 17.3 | 1831 21395 | 84.5 10.9 4.6 1.9 17.3 54.9 | exp/tri4_fmmi_b0.1/decode_eval2000_it8_sw1_fsh_fg/score_12/eval2000.ctm.swbd.filt.sys
%WER 35.6 | 1831 21395 | 67.5 23.3 9.2 3.1 35.6 68.8 | exp/tri1/decode_eval2000_nopp_sw1_tg/score_12/eval2000.ctm.swbd.filt.sys
%WER 32.7 | 1831 21395 | 70.7 21.6 7.8 3.4 32.7 67.9 | exp/tri2/decode_eval2000_nopp_sw1_tg/score_11/eval2000.ctm.swbd.filt.sys
%WER 26.2 | 1831 21395 | 76.4 16.7 6.9 2.6 26.2 64.2 | exp/tri3/decode_eval2000_nopp_sw1_tg/score_13/eval2000.ctm.swbd.filt.sys
%WER 26.1 | 1831 21395 | 76.5 16.8 6.7 2.6 26.1 64.1 | exp/tri3/decode_eval2000_sw1_tg/score_13/eval2000.ctm.swbd.filt.sys
%WER 19.9 | 1831 21395 | 82.1 12.4 5.5 2.0 19.9 58.5 | exp/tri4/decode_eval2000_sw1_fsh_fg/score_15/eval2000.ctm.swbd.filt.sys
%WER 21.6 | 1831 21395 | 80.5 13.6 5.9 2.1 21.6 60.2 | exp/tri4/decode_eval2000_sw1_tg/score_15/eval2000.ctm.swbd.filt.sys
%WER 29.2 | 1831 21395 | 74.0 19.0 7.0 3.2 29.2 65.0 | exp/tri4/decode_eval2000_sw1_tg.si/score_13/eval2000.ctm.swbd.filt.sys
%WER 20.0 | 1831 21395 | 81.9 12.5 5.6 1.9 20.0 57.5 | exp/tri4_mmi_b0.1/decode_eval2000_1.mdl_sw1_tg/score_14/eval2000.ctm.swbd.filt.sys
%WER 19.4 | 1831 21395 | 82.5 12.1 5.3 2.0 19.4 56.4 | exp/tri4_mmi_b0.1/decode_eval2000_2.mdl_sw1_tg/score_13/eval2000.ctm.swbd.filt.sys
%WER 19.1 | 1831 21395 | 83.0 11.9 5.1 2.1 19.1 56.3 | exp/tri4_mmi_b0.1/decode_eval2000_3.mdl_sw1_tg/score_12/eval2000.ctm.swbd.filt.sys
%WER 19.1 | 1831 21395 | 83.1 11.8 5.1 2.2 19.1 56.0 | exp/tri4_mmi_b0.1/decode_eval2000_4.mdl_sw1_tg/score_12/eval2000.ctm.swbd.filt.sys
%WER 20.6 | 1831 21395 | 81.3 12.9 5.8 1.9 20.6 59.0 | exp/tri4_fmmi_b0.1/decode_eval2000_it4_sw1_tg/score_14/eval2000.ctm.swbd.filt.sys
%WER 19.4 | 1831 21395 | 82.5 11.9 5.6 1.8 19.4 57.3 | exp/tri4_fmmi_b0.1/decode_eval2000_it5_sw1_tg/score_14/eval2000.ctm.swbd.filt.sys
%WER 19.0 | 1831 21395 | 82.8 11.6 5.6 1.8 19.0 56.6 | exp/tri4_fmmi_b0.1/decode_eval2000_it6_sw1_tg/score_14/eval2000.ctm.swbd.filt.sys
%WER 18.9 | 1831 21395 | 83.3 11.7 5.0 2.2 18.9 56.6 | exp/tri4_fmmi_b0.1/decode_eval2000_it7_sw1_tg/score_12/eval2000.ctm.swbd.filt.sys
%WER 19.0 | 1831 21395 | 83.4 11.8 4.8 2.4 19.0 56.2 | exp/tri4_fmmi_b0.1/decode_eval2000_it8_sw1_tg/score_11/eval2000.ctm.swbd.filt.sys
%WER 18.9 | 1831 21395 | 82.9 11.8 5.2 1.9 18.9 57.1 | exp/tri4_fmmi_b0.1/decode_eval2000_it4_sw1_fsh_fg/score_14/eval2000.ctm.swbd.filt.sys
%WER 17.8 | 1831 21395 | 83.8 11.1 5.1 1.6 17.8 55.4 | exp/tri4_fmmi_b0.1/decode_eval2000_it5_sw1_fsh_fg/score_14/eval2000.ctm.swbd.filt.sys
%WER 17.6 | 1831 21395 | 84.2 10.9 5.0 1.8 17.6 54.2 | exp/tri4_fmmi_b0.1/decode_eval2000_it6_sw1_fsh_fg/score_13/eval2000.ctm.swbd.filt.sys
%WER 17.5 | 1831 21395 | 84.3 10.8 4.9 1.8 17.5 54.2 | exp/tri4_fmmi_b0.1/decode_eval2000_it7_sw1_fsh_fg/score_13/eval2000.ctm.swbd.filt.sys
%WER 17.7 | 1831 21395 | 84.3 11.0 4.7 2.0 17.7 54.2 | exp/tri4_fmmi_b0.1/decode_eval2000_it8_sw1_fsh_fg/score_12/eval2000.ctm.swbd.filt.sys
%WER 18.6 | 1831 21395 | 83.1 11.2 5.7 1.7 18.6 57.5 | exp/sgmm2_5/decode_eval2000_sw1_tg/score_12/eval2000.ctm.swbd.filt.sys
%WER 17.3 | 1831 21395 | 84.5 10.6 4.9 1.8 17.3 56.3 | exp/sgmm2_5_mmi_b0.1/decode_eval2000_sw1_tg_it1/score_10/eval2000.ctm.swbd.filt.sys
%WER 16.9 | 1831 21395 | 85.0 10.3 4.7 1.9 16.9 54.6 | exp/sgmm2_5_mmi_b0.1/decode_eval2000_sw1_tg_it2/score_10/eval2000.ctm.swbd.filt.sys
......
......@@ -24,7 +24,7 @@ patch <local/dict.patch $dir/lexicon0.txt || exit 1;
#(2a) Dictionary preparation:
# Pre-processing (Upper-case, remove comments)
awk 'BEGIN{getline}($0 !~ /^#/) {print}' \
$srcdict | sort | awk '($0 !~ /^[[:space:]]*$/) {print}' \
$dir/lexicon0.txt | sort | awk '($0 !~ /^[[:space:]]*$/) {print}' \
> $dir/lexicon1.txt || exit 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment