comparison experiments/scripts/HTK/install_htk.sh @ 165:f75123cf39ce

- Scripts for running recognition experiments using AIM-C and HTK to compare MFCCs against features generated with AIM-C
author tomwalters
date Wed, 04 Aug 2010 06:41:56 +0000
parents 9416e88d7c56
children aa4eea1a3568
comparison
equal deleted inserted replaced
164:7e1fe07d13dc 165:f75123cf39ce
1 #!/bin/bash 1 #!/bin/bash
2 set -e 2 set -e
3 set -u 3 set -u
4 WORKING=$1 4 if [ ! -e /mnt/experiments/htk/.htk_installed_success ]; then
5 PREV_DIR=`pwd` 5 sudo mkdir /mnt/experiments/htk
6 if [ ! -e $WORKING/.htk_installed_success ]; then 6 sudo chown ubuntu /mnt/experiments/htk
7 mkdir -p $WORKING 7 cd /mnt/experiments/htk
8 cd $WORKING
9 wget --user $HTK_USERNAME --password $HTK_PASSWORD http://htk.eng.cam.ac.uk/ftp/software/HTK-3.4.1.tar.gz 8 wget --user $HTK_USERNAME --password $HTK_PASSWORD http://htk.eng.cam.ac.uk/ftp/software/HTK-3.4.1.tar.gz
10 tar -xzf HTK-3.4.1.tar.gz 9 tar -xzf HTK-3.4.1.tar.gz
11 cd htk 10 cd htk
12 ./configure --disable-hslab 11 ./configure --disable-hslab
13 make 12 make
14 sudo make install 13 sudo make install
15 touch $WORKING/.htk_installed_success 14 touch /mnt/experiments/htk/.htk_installed_success
16 fi 15 fi
17 cd $PREV_DIR