This is a set of tools for creating simple speech recognizers for GF grammars using HTK. == Requirements == HTK 3.3, with the patch htk-hdman-triphone.patch applied. See below for HTK compilation instructions GHC 6.4 or later. HsShellScript: http://www.volker-wysk.de/hsshellscript/ == Compiling == $ make == Builing a recognizer == See report/quick-speech-recog.pdf. Build the pdf with: $ make -C report == Running recognizers == See libatkrec: darcs get http://www.cs.chalmers.se/~bringert/darcs/atkrec/ == Compiling HTK on Ubuntu/amd64 == - Set up a 32-bit chroot - Enter the 32-bit chroot - Edit configure.in, comment out: bindir=${bindir}.${host_cpu} libdir=${libdir}.${host_cpu} - Run autoconf: $ autoconf - Run configure: $ export CPU=i386 $ ./configure CC=gcc-3.3 - Compile (as root, unfortunately) $ sudo make - Make chroot symlinks: $ cd /chroot/usr/local/bin $ for f in {H*,Cluster,L*}; do sudo ln -s $f ${f}32; done $ cd /usr/local/bin $ for f in /chroot/usr/local/bin/{H*,Cluster,L*}32; do sudo ln -s /usr/local/bin/do_dchroot `basename $f`; done