Top Banner
( ) Hidden Markov Toolkit (HTK) Installation Yueng-Tien Lo Yueng Tien Lo Department of Computer Science & Information Engineering National Taiwan Normal University
13

SP2009F Lecture09 Installation of HTK

Mar 24, 2015

Download

Documents

Serkan Özkul
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: SP2009F Lecture09 Installation of HTK

( )Hidden Markov Toolkit (HTK) Installation

Yueng-Tien LoYueng Tien LoDepartment of Computer Science & Information Engineering

National Taiwan Normal University

Page 2: SP2009F Lecture09 Installation of HTK

HTK (Hidden Markov Model Toolkit)

• Website: http://htk.eng.cam.ac.uk/

2

Page 3: SP2009F Lecture09 Installation of HTK

How to get HTK?

• Registrationhttp://htk eng cam ac uk/register shtml– http://htk.eng.cam.ac.uk/register.shtml

3

Page 4: SP2009F Lecture09 Installation of HTK

How to get HTK?

• Download HTKhttp://htk eng cam ac uk/download shtml– http://htk.eng.cam.ac.uk/download.shtml

4

Page 5: SP2009F Lecture09 Installation of HTK

Compiling & Installing HTK under Windows

• Prerequisites:Ensure that your PATH containsEnsure that your PATH contains

Microsoft Visual Studio 2008C:\Program Files\Microsoft Visual Studio 9.0\VC\bin

Microsoft Visual Studio 2005C:\Program Files\Microsoft Visual Studio 8\VC\bin

Microsoft Visual Studio 2003C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bing

Microsoft Visual Studio C++ 6

5

C:\Program Files\Microsoft Visual Studio\VC98\bin

Page 6: SP2009F Lecture09 Installation of HTK

Compiling & Installing HTK under Windows

• Compilation:1 Unpack the HTK sources1. Unpack the HTK sources

(HTK-3.4.1.zip) using winzip2. 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 d i t th htk di t4. cd into the htk directory. Type:

cd htk-3.4.15. Create a directory for the

library and tools. Type:mkdir bin win32

6

mkdir bin.win32

Page 7: SP2009F Lecture09 Installation of HTK

Compiling & Installing HTK under Windows

• Compilation:6 Run VCVARS32 (it should be in your path see prerequisites6. Run VCVARS32 (it should be in your path, see prerequisites

above)

vcvars32

7

Page 8: SP2009F Lecture09 Installation of HTK

Compiling & Installing HTK under Windows

• Compilation:7 Build the HTK Library which provides the common functionality7. 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 allcd ..

8

Page 9: SP2009F Lecture09 Installation of HTK

Compiling & Installing HTK under Windows

• Compilation:Build the HTK ToolsBuild the HTK Tools

cd HTKTools nmake /f htk_htktools_nt.mkf allcd .. cd HLMLib

k /f h k hl l kf ll nmake /f htk_hlmlib_nt.mkf all cd .. cd HLMTools cd HLMTools nmake /f htk_hlmtools_nt.mkf allcd ..

9

Page 10: SP2009F Lecture09 Installation of HTK

Compiling & Installing HTK under Windows

• Installation:The HTK tools have now been built and are in the bin win32– The HTK tools have now been built and are in the bin.win32directory

– You should add this directory to your PATH, so that you can run them easily from the command line in future

10

Page 11: SP2009F Lecture09 Installation of HTK

HTK Extensions

• Download HDecode-3.4.ziphttp://htk eng cam ac uk/extensions/index shtml– http://htk.eng.cam.ac.uk/extensions/index.shtml

11

Page 12: SP2009F Lecture09 Installation of HTK

Compiling & Installing Hdecode under Windows

• Unpack the HDecode-3.4.zip to HTKLVRec and compile it: Build the HTKLVRecit: Build the HTKLVRec

cd HTKLVRec nmake /f htk_decode_nt.mkf allcd ..

12

Page 13: SP2009F Lecture09 Installation of HTK

After installation

13