Giter Club home page Giter Club logo

htk3.5-install's Introduction

htk3.5-install

1. Pre-requirement install X11

$ sudo apt-get install libx11-dev

2. Download the HTK version of Linux/Unit

Go to HTK download page. But first, need to register (free) At this time, HTK version is 3.5 beta(2). Download both HTK source code and HDcode page.

3. Install HTK

$ tar xzf HTK-3.5.beta-2.tar.gz
$ tar xzf HDecode-3.5.beta-1.tar.gz

Go to each of following folders: HTKLib, HLMLib, HTKTools, HLMTools, HTKLVRec and install like below:

$ cd HTKLib
$ make -f MakefileCPU all
$ make -f MakefileCPU install

(If you want to compile CPU using MKL or NVIDIA GPUs, change MakefileCPU according MakefileMKL, MakefileNVCC)

4. Set PATH

After run all install command, one directory is created under htk, named: bin.cpu. Need to set this directory as system-wide PATH. So, go to root directory and run:

$ sudo gedit /etc/environment

Add absolute path of bin.cpu directory in environment file and save it. Now, make change affect:

$ source /etc/environment

And check what we do is correct or not

$ echo $PATH

5. Test HTK

When Install HTK in step 2, there is also directory inside htk directory, named samples. If not, got to HTK download page to get it

$ cd samples
$ cd HTKDemo
$ mkdir -p hmms/{tmp,hmm.{0,1,2,3}} proto accs test
$ ./runDemo configs/monPlainM1S3.dcf

If test succeed, there is result like below:

--------------------- Overall Results -----------------------
SENT: %Correct=0.00 [H=0, S=3, N=3]
WORD: %Corr=63.91, Acc=59.40 [H=85, D=35, S=13, I=6, N=1
=============================================================

htk3.5-install's People

Contributors

conbitin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

erdnbt palles77

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.