1#!/bin/sh 2. ./testfuncs.sh 3 4tmpout="test-decode-mode1369.out" 5 6echo "DECODE MODE 1369 (DEBUG MODE) TEST" 7echo "This matches the current decoding routine call sequence with the default behaviour" 8 9margs="-mdef $hub4am/mdef \ 10-fdict $an4lm/filler.dict \ 11-dict $an4lm/an4.dict \ 12-mean $hub4am/means \ 13-var $hub4am/variances \ 14-mixw $hub4am/mixture_weights \ 15-tmat $hub4am/transition_matrices \ 16-ctl $an4lm/an4.ctl \ 17-cepdir $an4lm/ \ 18-agc none \ 19-varnorm no \ 20-cmn current \ 21-subvqbeam 1e-02 \ 22-epl 4 \ 23-fillprob 0.02 \ 24-feat 1s_c_d_dd \ 25-lw 9.5 \ 26-maxwpf 1 \ 27-beam 1e-40 \ 28-pbeam 1e-30 \ 29-wbeam 1e-20 \ 30-maxhmmpf 1500 \ 31-wend_beam 1e-1 \ 32-ci_pbeam 1e-5 \ 33-ds 2 \ 34-tighten_factor 0.4 \ 35-op_mode 1369" 36 37lmargs="-lm $an4lm/an4.ug.lm.DMP" 38 39clsargs="-lmctlfn $an4lm/an4.ug.cls.lmctl \ 40-ctl_lm $an4lm/an4.ctl_lm" 41 42rm -f $tmpout 43 44run_program sphinx3_decode $margs $lmargs 2>&1 | grep "SEARCH DEBUG" |sed "s/\.//g" > $tmpout 45 46if diff $tmpout $hub4am/test.mode1369.dump > /dev/null 2>&1; then 47 pass "DECODE MODE 1369 (DEBUG MODE) test" 48else 49 fail "DECODE MODE 1369 (DEBUG MODE) test" 50fi 51 52 53 54