+ All Categories
Home > Documents > Introduction to the Installation of the Hidden Markov...

Introduction to the Installation of the Hidden Markov...

Date post: 04-Apr-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
10
Introduction to the Installation of the Hidden Markov Toolkit (HTK) Fang-Hui Chu Department of Computer Science & Information Engineering National Taiwan Normal University
Transcript
Page 1: Introduction to the Installation of the Hidden Markov …berlin.csie.ntnu.edu.tw/Courses/2006F-SpeechRecognition...Introduction to the Installation of the Hidden Markov Toolkit (HTK)

Introduction to the Installation of the Hidden Markov Toolkit (HTK)

Fang-Hui ChuDepartment of Computer Science & Information Engineering

National Taiwan Normal University

Page 2: Introduction to the Installation of the Hidden Markov …berlin.csie.ntnu.edu.tw/Courses/2006F-SpeechRecognition...Introduction to the Installation of the Hidden Markov Toolkit (HTK)

2

HTK (Hidden Markov Model Toolkit)

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

Page 3: Introduction to the Installation of the Hidden Markov …berlin.csie.ntnu.edu.tw/Courses/2006F-SpeechRecognition...Introduction to the Installation of the Hidden Markov Toolkit (HTK)

3

How to get HTK?

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

Page 4: Introduction to the Installation of the Hidden Markov …berlin.csie.ntnu.edu.tw/Courses/2006F-SpeechRecognition...Introduction to the Installation of the Hidden Markov Toolkit (HTK)

4

How to get HTK?

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

Page 5: Introduction to the Installation of the Hidden Markov …berlin.csie.ntnu.edu.tw/Courses/2006F-SpeechRecognition...Introduction to the Installation of the Hidden Markov Toolkit (HTK)

5

Compiling & Installing HTK under Windows

• Prerequisites:Ensure that your PATH containsC:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin

Or if you are using older versions:C:\Program Files\Microsoft Visual Studio\VC98\bin

Page 6: Introduction to the Installation of the Hidden Markov …berlin.csie.ntnu.edu.tw/Courses/2006F-SpeechRecognition...Introduction to the Installation of the Hidden Markov Toolkit (HTK)

6

Compiling & Installing HTK under Windows

• Compilation:1. Unpack the HTK sources

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. cd into the htk directory. Type:

cd htk-3.35. Create a directory for the

library and tools. Type:mkdir bin.win32

Page 7: Introduction to the Installation of the Hidden Markov …berlin.csie.ntnu.edu.tw/Courses/2006F-SpeechRecognition...Introduction to the Installation of the Hidden Markov Toolkit (HTK)

7

Compiling & Installing HTK under Windows

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

above)

vcvars32

Page 8: Introduction to the Installation of the Hidden Markov …berlin.csie.ntnu.edu.tw/Courses/2006F-SpeechRecognition...Introduction to the Installation of the Hidden Markov Toolkit (HTK)

8

Compiling & Installing HTK under Windows

• Compilation:7. Build the HTK Library, which provides the common functionality

used by the HTK Tools. Enter the following commands: cd HTKLibnmake /f htk_htklib_nt.mkf allcd ..

Page 9: Introduction to the Installation of the Hidden Markov …berlin.csie.ntnu.edu.tw/Courses/2006F-SpeechRecognition...Introduction to the Installation of the Hidden Markov Toolkit (HTK)

9

Compiling & Installing HTK under Windows

• Compilation:Build the HTK Tools

cd HTKToolsnmake /f htk_htktools_nt.mkf allcd .. cd HLMLibnmake /f htk_hlmlib_nt.mkf all cd .. cd HLMToolsnmake /f htk_hlmtools_nt.mkf allcd ..

Page 10: Introduction to the Installation of the Hidden Markov …berlin.csie.ntnu.edu.tw/Courses/2006F-SpeechRecognition...Introduction to the Installation of the Hidden Markov Toolkit (HTK)

10

Compiling & Installing HTK under Windows

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

directory– You should add this directory to your PATH, so that you can run

them easily from the command line in future


Recommended