Click here to register.

Windows: Download Required Software

 Click here for the Linux version of this tutorial

VoxForge Directory

Create VoxForge directory

1. Windows Terminal (Command Prompt)

  • Go to Start Menu
    • type "command" in Search Programs and Files 
    • select "Command Prompt"

-or-

  • Go to Start Menu
    • select "All Programs"
    • select "Accessories"
    • select "Command Prompt"

2. Create voxforge directory

  • from the command line, type:

C:>mkdir voxforge

  • go into your voxforge directory

C:>cd voxforge

  • within voxforge, create another folder called 'bin' (bin is a Unix standard name given to the folder containing executable programs)

C:>mkdir bin

this creates the following folder:

C:\Users\username\voxforge\bin

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: 

to

  • voxforge/bin

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\username\voxforge\bin\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\username\voxforge\bin\HTK-samples-3.3\htkbook_pdf

 

Step 4 - testing

See testing in the 'Update Your Path Environment Variable' section.

Julius

Julius is a large vocabulary continuous speech recognition (LVCSR) engine.  Julius can be used for command and control and dictation applications.

Julius has no limitations on distribution.  It uses Acoustic Models in HTK format, and Grammar files in its own format.

Step 1 - Download Windows version of Julius

to

  • voxforge/bin

 

Step 2 - Extract Julius

Extract the Julius zip file:

  • right click the julius-4.*.*-win32bin.zip file
  • select 'Extract all...' from the menu;

 

Step 3 - testing

See testing in the 'Update Your Path Environment Variable' section. 

Julia

Julia is a high-level, high-performance scripting language for technical computing.

The VoxForge acoustic model creation toolkit is written in Julia.

Step 1 - Download Windows version of Julia

 to

  • your Windows "Downloads" folder

Step 2 - Extract Julia

Using Windows Explorer, find the exe file (e.g. julia-0.3.9-win32.exe) and double click it to run the installer.  It is best to install the 32-bit version of Julia, even if you are running a 64 bit O/S.

 

Step 3 - testing

See testing in the 'Update Your Path Environment Variable' section. 

Update Path

Step 1 - Update your Windows PATH environment variable to include HTK, Julius and Julia

You have to put the .exe files' path for HTK and Julius into your local user's environment variable path:

add HTK, Julius and Julia to Windows Path using setx:

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.
  • Enter "julius-4.*.*" in the Command Prompt window (where the * corresponds to your julius version number: e.g julius-4.3.1) ;
if your system displays version information for Julius, then it is installed properly;
  • Type "julia -v" in the Command Prompt window to get the version number of your Julia executable

if your system displays version information for Julia , then it is installed properly;

  • If you don't get the expected results, review your installation steps for HTK, Julius or Julia to determine where you might have made an error. 

(using the "c:>echo %PATH%" command can help find errors)

 

Audacity

Audacity is a free, easy-to-use, multi-track audio editor and recorder.

Step 1 - Download Audacity 

  1. Go to http://audacity.sourceforge.net/download/windows; and download the latest version of the Audacity audio editor;

Step 2 - Install Audacity

  1. Double-click "audacity-win-2.x.x" setup file;
  2. Follow the steps in the setup wizard;

Step 3 - Testing

  • Click Start>All Programs>Audacity.

 

Comments

By SushaNt - 8/3/2017 - 1 Replies #yum install compat-gcc-34-c++ compat-gcc-34 gives error There are no enabled repos. Run "yum repolist all" to see the repos you have. You can enable repos with yum-config-manager --enable <repo>

By Biruk Gebru - 12/24/2016 Hi all I registered here to say thank you, I got this page very important for my NLP projec

By diwakarg - 11/29/2016 - 1 Replies sitecsp@acl-pg-06:~/HTK/htk$ make all

By God - 1/20/2016 Put HTKTools into your linux path using:

By Tom Brunner - 1/14/2016 - 5 Replies Hi,

By sruti - 3/9/2015 Can you tell me how to solve the problem ?

By vineka - 1/28/2015 I installed cygwin but when tested julian in cygwin editor error "batch julian command not found" how to rectify it?

By manishankar - 1/5/2015 How to slove this issue pls tell me..

By mugdha parande - 10/1/2014 mugdha@ubuntu:~/bin/HTK3.4$ make all (cd HTKLib && make HTKLib.a) \ || case "" in *k*) fail=yes;; *) exit 1;; esac; make[1]: Entering directory `/home/mugdha/bin/HTK3.4/HTKLib' gcc -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 -I. -DPHNALG -c -o HGraf.o HGraf.c HGraf.c:73:77: fatal error: X11/Xlib.h: No such file or directory compilation terminated. make[1]: *** [HGraf.o] Error 1 make[1]: Leaving directory `/home/mugdha/bin/HTK3.4/HTKLib' make: *** [HTKLib/HTKLib.a] Error 1

By surya - 7/24/2014 - 2 Replies hello there, i have installed htk and tested with the command, its working fine..

By gabam - 6/29/2014 - 3 Replies Hi everybody. I am using Fedora 20 32 bit. I exactly the followed what the tutorial says here. And when I enter 'make all', after some seconds of work going on, I finally get this error at the end. What does it mean, and how to get rid of it and make a successfull instalation of HTK. I will really appreciate your help. Thanks.

By helpNeeded - 3/6/2014 - 1 Replies Hi

Hi
By mobline1 - 2/21/2014 Just to Thank you it work propertly

By Moustafa Mahmoud - 1/26/2014 - 1 Replies $cd /HTK

By mervenilay - 1/23/2014 - 3 Replies I followed the steps to install Julian on Windows7 64-bit system. I tested it as shown but it doesn't work. When I type "julian" on Cygwin64 Terminal it doesn't return any result. How to solve this problem?

By Rambod Rahmani - 9/25/2013 - 1 Replies Hi,

By adrian - 9/24/2013 - 1 Replies i get this error. If anyone could help me i would be greatful.

By Corde - 8/29/2013 - 5 Replies First of all i got some problems i using ubuntu 12.04 lts version on wmvare.

By Gustavo - 8/3/2013 The tutorial was very helpful, thanks a lot!

By Rosco - 5/9/2013 Hi,

By tamir - 3/29/2013 - 1 Replies am trying to install cygwin using window 7 but i can't find any sites in the step pls....pls i need help

By Ndekezi - 3/22/2013 - 1 Replies Hey guys , I am installing cygwin but I do not found any site on the list. what should do?

By dunginria - 3/13/2013 - 3 Replies Could you please tell me how to fix this warning 2330?

By novice - 12/14/2012 - 1 Replies after I perform this

By Ali Akbar - 12/4/2012 thank you

By Ali Akbar - 12/2/2012 Thank you so much for guiding me.

By dzungtran32 - 10/23/2012 - 6 Replies Dear all

By stafford - 10/3/2012 Dear all,

By Wei - 9/30/2012

By arua - 8/18/2012 can i install HTK 3.4 on win 7 32 bit without using cygwin.