📄 readme
字号:
Hidden Markov Toolkit (HTK) 3.2Use of this software is governed by a license agreement, the terms andconditions of which are set forth in the file LICENSE in thetop-level HTK installation directory. Please read this file carefullyas use of this software implies acceptance of the conditions describedtherein.Introduction============HTK is a toolkit for use in research into automatic speech recognitionand has been developed by the Speech Vision Robotics Group at theCambridge University Engineering Department (http://svr-www.eng.cam.ac.uk) and Entropic Ltd (http://www.entropic.com).Please visit the HTK homepage at the following address for moreinformation about HTK: http://htk.eng.cam.ac.uk/A number of mailing lists have been established to help users buildand understand HTK, for details see http://htk.eng.cam.ac.uk/mailing/subscribe_mail.shtmlLicense=======HTK is made available free of charge and can be downloaded from thewebsite mentioned above. However it may not be redistributed,i.e. you must register at the website and download it fromthere. Details about the terms under which HTK is made available canbe found in the LICENSE file.Compiling & Installing HTK under UNIX=====================================HTK consists of two libraries (built from the source code in HTKLib/and HLMLib/) and a set of command line tools (in HTKTools/ andHLMTools/).The supplied makefiles require the following environment variablesto be set: CPU current CPU type HBIN specifies location of executables $HBIN/bin.$CPU HTKCC Name of C compiler HTKCF C compiler options HTKLF Linker optionsSee the makefiles in HTKLib/, HTKTools/, HLMLib/ and HLMTools/ fordetailed information about how these are used. The directory env/contains example settings of these variables for a range of OperatingSystems.First build the library in HTKLib/ and then build the tools inHTKTools/. The executables will be copied to the directory$HBIN/bin.$CPU which should be added to your PATH. Then you can buildthe library in HLMLib/ and the tools in HLMTools/. The executableswill again be copied to the directory $HBIN/bin.$CPU which should beadded to your PATH.Please address questions regarding building HTK toHTK-users@eng.cam.ac.ukIn a future version we will provide an autoconf based build system. Compiling & Installing HTK under Windows========================================HTK can be compiled under Windows using the Visual Studio C compilerand the 'nmake' facility. To do this, open a DOS or Command Promptwindow and cd to the htk directory. Create a directory for theexecutables > mkdir bin.win32Then compile the HTK Library as follows > cd HTKLib > VCVARS32 > nmake /f htk_htklib_nt.mkf allNext cd to the HTKTools directory and make the tools > nmake /f htk_htktools_nt.mkf allChange to the HLMLib directory and compile it > nmake /f htk_hlmlib_nt.mkf allAnd finally change to the HLMTools directory and compile > nmake /f htk_hlmtools_nt.mkf allThis will store the final executables in the bin.win32 directory whichshould be added to your path.Notes1) VCVARS32, nmake and the C compiler are usually stored in C:\Program Files\Microsoft Visual Studio\VC98\bin This must be in your path.2) The variables CPU,HBIN,HTKCC, etc are set directly in the Windows makefiles and any existing settings are ignored.Testing the Installation========================Among the samples on the HTK website you'll find the HTKDemo packagethat can be used to test your installation. Seehttp://htk.eng.cam.ac.uk/download.shtml for download instructions.As an initial test of the installation please run the HTKdemonstration using the configuration fileHTKDemo/configs/monPlainM1S1.dcf. There is a README file in theHTKDemo directory explaining the operation of the demonstration indetail but, in short, you need to run the demonstration script passingit the configuration file configs/monPlainM1S1.dcf as input. To test the language modelling tools you should follow the tutorialin the HTK book, using the files in the LMTutorial/ directory.Before running the demo make sure you have compiled all the HTK toolsand the executables are in your PATH, i.e. just typing 'HInit' at thecommandline prints a short usage summary. To run the demonstrationtype:$ cd HTKDemo$ ./runDemo configs/monPlainM1S1.dcfThe 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]===================================================================NB to run this demo under Windows you must have perl installed and youneed to invoke perl explicitly. See http://www.perl.org/ to downloadthe perl distribution. The script runDemo.pl should be used in placeof runDemo i.e. to run the test above type > perl runDemo.pl configs\monPlainM1S1.dcf
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -