HTK
The Hidden Markov Model Toolkit (HTK) is a portable toolkit for building and manipulating hidden Markov models. HTK is primarily used for speech recognition.
HTK's licence requires you to register before you can download the toolkit. The source of the software is available but there are limitations on the distribution of the HTK Toolkit itself. However, there is no limitation on the distribution of the acoustic models models you create with the toolkit.
Step 1 - Register with HTK
Step 2 - Download HTK Toolkit
Download the latest versions of the following packages:
The HTK book is an excellent reference to the toolkit commands. However, it is written for speech scientists and can be very confusing to beginners.
Step 3 - Install HTK
Extract Windows HTK Binaries
Using Windows Explorer:
- Right-click the htk-3.x-windows-binary.zip file, and select 'Extract All...' from your right-click menu; and
- follow the steps in the extraction wizard to extract the zip file to your HTK directory.
- this creates the the following folder:
C:\Users\User_Name\HTK\htk-3.3-windows-binary\htk
Note: do not execute HTK's "install" MS-DOS batch file. This batch file tries to create a directory called "HTK.3.3" in your "Program Files" directory, and copy the HTK executables into it.
|
Extract HTK Book
Use Windows Explorer to extract:
- htkbook_pdf.zip
- this creates the following folder:
C:\Users\Yoon-Joong\HTK\htkbook_pdf
Step 4 - testing
See testing in the 'Update Your Path Environment Variable' section.
Update Path
Step 1 - Update your Windows PATH environment variable to include HTK.
You have to put the .exe
files' path for HTK into your local user's environment variable path:
add HTK, to Windows Path as follows :
시작 우버튼 클릭후
시스템 > 고급시스템설정 > 고급 >환경변수> [유저이름]에 대한 사용자 변수(U) > 편집 > 새로반들기
선택하고
C:\Users\User_Name\HTK\htk-3.3-windows-binary\htk
을 복사한다.
또는 C:>setx PATH "C:\Users\username\voxforge\bin\htk-3.3-windows-binary\htk;C:\Users\username\voxforge\bin\julius-4.3.1-win32bin\julius-4.3.1-win32bin\bin;C:\Users\username\AppData\Local\Julia-0.3.9\bin"
(remember to replace username with your username; and use the appropriate version numbers for htk and julius)
Step 2 - open a new Command Prompt window
Since the new PATH is not visible in any open Command Prompt terminal. You must close any open Command Prompt windows and open a new one for the change to take effect.
confirm PATH variable was updated:
close current Command Prompt window and open another;
c:>echo %PATH%
Step 3 - Testing Your HTK/Julius Install
- Open a Windows Command Prompt window:
- Click Start>All Programs>Accessories>Command Prompt;
- Enter "HVite" in the Command Prompt window;
if your system lists all the options available to the hvite command, then HTK is installed properly.
-