visual-studioinstallationspeech-recognitionhtk

HTK installing in windows10 / Not able to find VC98


I am trying to install HTK Toolkit in my windows 10 machine.

It has a prerequisite of: Ensure that your PATH contains C:\Program Files\Microsoft Visual Studio\VC98\bin

I installed Microsoft Visual studios but I am not able to find the VC98 folder(file) in location where my visual studio is installed.

I tried to search it a lot of times, but still I was unsuccessful in finding it.

Can someone please solve this for me.

My final goal is to install HTK

Installing HTK on Microsoft Windows

Prerequisites

HTK has been verified to compile using Microsoft Visual Studio.

For testing, you will require a Perl interpreter such as ActivePerl.

You will need a tool such as 7-zip for unpacking the HTK source code archive.

Register on this site by accepting the HTK End User Licence Agreement, then download the latest HTK source code.

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\VC98\bin Compilation

Unpack the HTK sources using 7-zip.

Open a DOS command window: Click Start, select Run type cmd at the prompt and click OK.

cd into the directory in which you unpacked the sources.

cd into the htk directory. Type:

cd htk

Create a directory for the library and tools. Type:

mkdir bin.win32

Run VCVARS32 (it should be in your path, see prerequisites above)

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 ..

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 should add this directory to your PATH, so that you can run them easily from the command line in future.


Solution

  • Installing HTK:

    I went through a very very tough time installing HTK on my computer.

    This documentation will be helpful in installing it on any other computer.

    Prequesities:

    You should have a visual studio installed with c++ distribution. (Don’t just download MSVC). Download complete C++ distribution.

    Download HTK Source code and HTK Samples.

    Download and install Perl

    Download any extracting software like( 7-zip)

    Prior Steps:

    Extract your HTK and HTK sample and keep it in two different directories. (Apart from each other)

    Open VS and go on tool→ command line → any command prompt(I selected Developer command prompt)

    Installing steps cd into the directory in which you unpacked the sources.(source code and not the sample) Execute the below commands one after the other.

    cd htk

    mkdir bin.win32

    cd HTKLib

    nmake /f htk_htklib_nt.mkf all

    cd ..

    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 ..

    After this go to your bin.win32 folder and copy all the files to your

    Sample directory inside HTKDemo.

    cd into the directory HTKDemo and execute the command:

    perl runDemo.pl configs/monPlainM1S1.dcf

    Now you might find errors like hmm does not exist or such files does not exist when you execute this .

    Just type mkdir (missing filename without parentheses)

    And continue to do it until no errors are found

    And soon you have reached the final stage : Success.

    I know the documentation of current HTK is way too outdated and misleading but the stackoverflow community helped me to get through it. I am attaching some links that might be helpful:

    http://htk.eng.cam.ac.uk/docs/inst-win.shtml

    https://ubuntuforums.org/showthread.php?t=1092317&page=2

    https://ubuntuforums.org/archive/index.php/t-1522471.html

    HTK installing in windows10 / Not able to find VC98

    https://ubuntuforums.org/showthread.php?t=1522471