Among the samples on the HTK website you'll find the HTK-samples package that can be used to test your installation.
As an initial test of the installation please run the HTK demonstration using the configuration file HTKDemo\configs\monPlainM1S1.dcf. There is a README file in the HTKDemo directory explaining the operation of the demonstration in detail but, in short, you need to run the demonstration script passing it the configuration file configs\monPlainM1S1.dcf as input. To test the language modelling tools you should follow the tutorial in the HTK book, using the files in the LMTutorial directory.
Before running the demo make sure you have compiled all the HTK tools and the executables are in your PATH, please refer to thisMicrosoft TechNet article for instructions. You can verify that your path is set correctly by typing 'HInit' at the commandline, which should produce a short usage summary.
To run the demonstration type:
cd HTKDemo
mkdir hmms
cd hmms
mkdir tmp
mkdir hmm.0
mkdir hmm.1
mkdir hmm.2
mkdir hmm.3
cd ..
mkdir proto
mkdir acc
mkdir test
perl runDemo.pl configs\monPlainM1S1.dcf
The recognition results obtained should match the following.
On the training set:
------------------------ Overall Results --------------------------
SENT: %Correct=0.00 [H=0, S=7, N=7]
WORD: %Corr=77.63, Acc=74.89 [H=170, D=37, S=12, I=6, N=219]
===================================================================
On the test set:
------------------------ Overall Results --------------------------
SENT: %Correct=0.00 [H=0, S=3, N=3]
WORD: %Corr=63.91, Acc=59.40 [H=85, D=35, S=13, I=6, N=133]
===================================================================