본문 바로가기

과제모음

Running the HTK Demo(htk demo)

반응형

PATH ADD(In cmd)

 set path=%path%;"new path way"

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] ===================================================================

반응형

'과제모음' 카테고리의 다른 글

CMU SPHINX - JAVA 음성인식  (0) 2010.01.22
HTK음성인식 초기훈련  (0) 2010.01.22
[Cmu sphinx]발음 rule  (0) 2009.09.03
[CMU Sphinx]변경사항  (0) 2009.08.20
[CMU Sphinx]음성인식 발음사전 확인 사이트  (0) 2009.08.20