Download - SP2009F Lecture09 Installation of HTK
![Page 1: SP2009F Lecture09 Installation of HTK](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/1.jpg)
( )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](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/2.jpg)
HTK (Hidden Markov Model Toolkit)
• Website: http://htk.eng.cam.ac.uk/
2
![Page 3: SP2009F Lecture09 Installation of HTK](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/3.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/4.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/5.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/6.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/7.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/8.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/9.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/10.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/11.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/12.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022081717/551406634a7959f1028b4e50/html5/thumbnails/13.jpg)
After installation
13