installing htk on cygwin · suggest list - 1! archive! unzip : decompressing *.zip! zip :...

Post on 25-Aug-2020

9 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Installing HTK on Cygwin

Chao-yu Huang

2010.04.27

Setup Cygwin

Cygwin

n What Is Cygwin?

n Cygwin is a Linux-like environment for Windows

n What Isn't Cygwin?

n Cygwin is not a way to run native linux apps on Windows.

n Cygwin is not a way to magically make native Windows apps aware of UNIX ® functionality, like signals, ptys, etc.

Download & Run

n http://www.cygwin.com/setup.exe

Then...n Choose A Download Source

n Install from Internet

n Select Root Install Directory

n C:\cygwin

n Select Local Package Directory

n C:\tmp

n Yes

n Select Your Internet Connection

n Direct Connection

Download Site

Skip Alert

Select Packages

Suggest List - 1n Archive

n unzip : decompressing *.zip

n zip : compressing *.zip

n Devel

n ctags : help you create tag file to trace code

n gcc : c and c++ compiler

n make : as important as gcc

Suggest List - 2n Editors

n vim : I prefer vim, but you can use any editor you like

n Net

n openssh : when you want copy files from workstation to your local system, scp, sftp is usefull commands

n Perl

n perl : powerful string and hash library

n perl_manpages : man pages for perl

Suggest List - 3n Shell

n tcsh : default shell in cygwin is bash, but SRILM will use csh

n Web

n wget : when you want download files from internet to your current directory, this is useful

How to use linux cmds?

n Google !

n Man is your best friend!!

n / to search and to quit

n 鳥哥的 Linux 私房菜 http://linux.vbird.org/

Waiting for Installing...

Foldersn Root:

n C:\cygwin

n Execute files:

n C:\cygwin\bin

n Home:

n If your win login name is “hamigwa”

n C:\cygwin\home\hamigwa

Window Size

Copy & Paste

n Copy

n click 標記

n Select text sections

n mouse right click

n Paste

n click 貼上

Vimn You could use

n or use VIM !!

n Download .vimrc

n http://edt1023.sayya.org/vim/node1.html

n

HTK

Installing HTK - 1n Copy binary(*.exe) files to C:\cygwin\bin

n From : htk341_win32.zip

Installing HTK - 2

n Or Compile it yourself!!

n Unzip files

n unzip HTK-3.4.1.zip

n unzip HDecode-3.4.1.zip

n Move folder htk to

n C:\cygwin\tmp

Compiling HTK - 1n cd /tmp/htk

n edit ./HTKTools/Makefile.in

n From

n To

n cp ./HTKLib/HGraf.c ./HTKLib/HGraf.c.copy

n cp ./HTKLib/HGraf.null.c ./HTKLib/HGraf.c

Compiling HTK - 2

n ./configure --prefix=/usr

n make all

n make install

n make hdecode

n make install-hdecode

Testing

Question?

top related