1#!/bin/sh
2. ./testfuncs.sh
3
4echo "LIVEPRETEND+MLLR TEST"
5echo "YOU SHOULD SEE THE RECOGNITION RESULT 'P I T T S B U R G H'"
6
7tmpout="test-livepretend-mllr.out"
8
9rm -f $tmpout
10
11run_program sphinx3_livepretend \
12$an4lm/an4.ctl \
13$an4lm \
14$builddir/model/lm/an4/args.an4.test.mllr > $tmpout 2>&1
15
16grep "FWDVIT" $tmpout
17grep "FWDXCT" $tmpout
18
19if grep "FWDVIT" $tmpout |grep "P I T T S B U R G H" >/dev/null 2>&1; then
20    pass "LIVEPRETEND MLLR test"
21else
22    fail "LIVEPRETEND MLLR test"
23fi
24
25
26