introduction to the installation of the hidden markov...
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)](https://reader034.vdocuments.net/reader034/viewer/2022042114/5e918dfa4bea6934ef09a85e/html5/thumbnails/1.jpg)
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)](https://reader034.vdocuments.net/reader034/viewer/2022042114/5e918dfa4bea6934ef09a85e/html5/thumbnails/2.jpg)
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)](https://reader034.vdocuments.net/reader034/viewer/2022042114/5e918dfa4bea6934ef09a85e/html5/thumbnails/3.jpg)
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)](https://reader034.vdocuments.net/reader034/viewer/2022042114/5e918dfa4bea6934ef09a85e/html5/thumbnails/4.jpg)
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)](https://reader034.vdocuments.net/reader034/viewer/2022042114/5e918dfa4bea6934ef09a85e/html5/thumbnails/5.jpg)
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)](https://reader034.vdocuments.net/reader034/viewer/2022042114/5e918dfa4bea6934ef09a85e/html5/thumbnails/6.jpg)
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)](https://reader034.vdocuments.net/reader034/viewer/2022042114/5e918dfa4bea6934ef09a85e/html5/thumbnails/7.jpg)
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)](https://reader034.vdocuments.net/reader034/viewer/2022042114/5e918dfa4bea6934ef09a85e/html5/thumbnails/8.jpg)
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)](https://reader034.vdocuments.net/reader034/viewer/2022042114/5e918dfa4bea6934ef09a85e/html5/thumbnails/9.jpg)
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)](https://reader034.vdocuments.net/reader034/viewer/2022042114/5e918dfa4bea6934ef09a85e/html5/thumbnails/10.jpg)
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