Cgywin mode:
See Post: Install HTK 3.4 on cgywin
Refer:
Http://speech.ee.nthu.edu.tw/index.php? N = lab. htkcygwin
Open makefile. In under HTK/htktools and delete "-lx11 ".
$ CD htklib
$ CP hgraf. null. c hgraf. C $ CD ..
$ Make all
$ Make install
Use vs2005 ide To compile HTK tool:
Http://blog.csdn.net/chenxin_130/archive/2009/10/24/4722878.aspx
Use Windows and vs to compile:
Reference from HTK readme
Prerequisites:
* HTK has been verified to compile using Microsoft Visual Studio.
* For testing, you will require a Perl interpreter such
ActivePerl.
* You will need a tool such as 7-Zip or WinZip (commercial) for unpacking
The HTK source code archive.
* It is helpful if you have some familiarity with using the DoS
Command line interface, as you will need to interact with it in
Order to compile, install and run HTK.
* Ensure that your path contains
C:/program files/Microsoft Visual Studio. NET 2003/vc7/bin
Or if you are using older versions:
C:/program files/Microsoft Visual Studio/vc98/bin
Compilation:
1. Unpack the HTK sources using 7-zip.
2. Open a DOS command window: Click Start, select Run Type CMD
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
5. Create a directory for the library and tools. Type:
Mkdir bin. Win32
6. Run vcvars32 (it shocould be in your path, see prerequisites above)
7. 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 all
CD ..
8. Build the HTK tools
CD htktools
Nmake/F htk_htktools_nt.mkf all
CD ..
CD hlmlib
Nmake/F htk_hlmlib_nt.mkf all
CD ..
CD hlmtools
Nmake/F htk_hlmtools_nt.mkf all
CD ..
Installation:
The HTK tools have now been built and are in the bin. Win32
Directory. You shocould add this directory to your path, so that you can
Run them easily from the command line in future.
The following error may occur when running nmake:
Htk_htklib_nt.mkf (6): Fatal error u1035: syntax error: Expected ':' or '= 'separator stop.
When you use utraedit to open the file, you will be prompted whether to convert it to DOS format. Select "yes ". Remove unnecessary blank lines in the open file, and save the file to overwrite the original file. The following problems are solved in the same way, and none of the other methods can be solved.
General problems:
Hslab yes01.sig
Error [+ 6870] makexgraf: not compiled with X11 support: Use hgraf. X. c
Fatal error-terminating program hslab
Hslab cannot be used because it does not support Linux graphical interface X11.
Optional solution:
Use praat for recording and label
Http://www.fon.hum.uva.nl/praat/
You can also use htk3.3 according to the suggestions on the Internet, but I have not verified the feasibility. The Build Process of htk3.3 is relatively complicated.
----------------------------------
Author: Chen Jin)
This article is an original article. If you need to repost and quote it, please specify the original author and link. Thank you.