📄 readme
字号:
Hidden Markov Toolkit (HTK) 3.3Use 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/Linux===========================================After unpacking the sources, cd to the htk-3.3 directory. Decidewhere you wish the binaries to be installed (default is /usr/localwhich will put the tools in /usr/local/bin)then type ./configure --prefix=/path/to/your/installationThen running "make all" will build the libraries and binaries.Running "make install" will install them. This step may need to bedone as root, if you are not installing them in your home directory.Compiling & Installing HTK under Windows========================================Prerequisites: * HTK has been verified to compile using Microsoft Visual Studio. * For testing, you will require a Perl interpreter such as ActivePerl. * You will need a tool such as 7-zip or winzip (commercial) for unpacking the HTK source code archive. * It is helpful if you have some familiarity with using the DOS command line interface, as you will need to interact with it in order to compile, install and run HTK. * Ensure that your PATH contains C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin Or if you are using older versions: C:\Program Files\Microsoft Visual Studio\VC98\bin Compilation: 1. Unpack the HTK sources using 7-zip. 2. Open a DOS command window: Click Start, select Run type cmd at the prompt and click OK. 3. cd into the directory in which you unpacked the sources. 4. cd into the htk directory. Type: cd htk-3.3 5. Create a directory for the library and tools. Type: mkdir bin.win32 6. Run VCVARS32 (it should be in your path, see prerequisites above) 7. Build the HTK Library, which provides the common functionality used by the HTK Tools. Enter the following commands: cd HTKLib nmake /f htk_htklib_nt.mkf all cd .. 8. Build the HTK Tools cd HTKTools nmake /f htk_htktools_nt.mkf all cd .. cd HLMLib nmake /f htk_hlmlib_nt.mkf all cd .. cd HLMTools nmake /f htk_hlmtools_nt.mkf all cd ..Installation:The HTK tools have now been built and are in the bin.win32directory. You should add this directory to your PATH, so that you canrun them easily from the command line in future.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 + -