[Subject Prev][Subject Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hts-users:01842] Re: having problem patching HTS-2.1 for HTK-3.4 with tar.gz files





From: eng.yamany@xxxxxxxxxxx
To: tshlmail-hts@xxxxxxxxx
Subject: RE: [hts-users:01834] Re: having problem patching HTS-2.1 for HTK-3.4 with tar.gz files
Date: Wed, 17 Dec 2008 17:50:16 +0000

I finally successfully patched the HTS but there are some hunks that failed first these the steps I followed:
- installed cygwin under windows
- downloaded HTK for linux and unpacked it under htk folder
- downloaded Hdecode unpacked and overwrite the HTKLVRec under htk
-  downloaded the HTS_for_htk.patch
- first patch command was totally failed
- repeated the same command -R was answered by y
- successfully patched
I founded two rej files witht following contents:
First one:

***************
*** 50,56 ****
      HLM.obj HMap.obj HMath.obj HMem.obj HModel.obj HNet.obj \

      HParm.obj HRec.obj HShell.obj HSigP.obj HTrain.obj \

      HUtil.obj HVQ.obj HWave.obj strarr.obj \

-     HExactMPE.obj HFBLat.obj HArc.obj

 

  all: $(libHTK).lib

 

--- 50,56 ----
      HLM.obj HMap.obj HMath.obj HMem.obj HModel.obj HNet.obj \

      HParm.obj HRec.obj HShell.obj HSigP.obj HTrain.obj \

      HUtil.obj HVQ.obj HWave.obj strarr.obj \

+     HExactMPE.obj HFBLat.obj HArc.obj HGen.obj

 

  all: $(libHTK).lib

 
Second:

***************
*** 42,48 ****
  libs = $(syslib) $(htklib)

 

  tools = HSLab.exe HInit.exe HRest.exe HERest.exe HVite.exe HResults.exe \

-     HList.exe HCopy.exe HLEd.exe HDMan.exe HHEd.exe HParse.exe \

      HBuild.exe HSmooth.exe HCompV.exe HQuant.exe HSGen.exe HLStats.exe \

      HLRescore.exe

 

--- 42,48 ----
  libs = $(syslib) $(htklib)

 

  tools = HSLab.exe HInit.exe HRest.exe HERest.exe HVite.exe HResults.exe \

+     HList.exe HCopy.exe HLEd.exe HDMan.exe HHEd.exe HParse.exe HMGenS.exe \

      HBuild.exe HSmooth.exe HCompV.exe HQuant.exe HSGen.exe HLStats.exe \

      HLRescore.exe

 

***************
*** 66,71 ****
 

  HParse.exe:     HParse.obj

 

  HDMan.exe:      HDMan.obj

 

  HLEd.exe: HLEd.obj

--- 66,73 ----
 

  HParse.exe:     HParse.obj

 

+ HMGenS.exe:     HMGenS.obj

+

  HDMan.exe:      HDMan.obj

 

  HLEd.exe: HLEd.obj

 
what to do nextto solve this problem?
thanks in advance




Date: Fri, 12 Dec 2008 11:58:24 -0800
From: tshlmail-hts@xxxxxxxxx
Subject: [hts-users:01834] Re: having problem patching HTS-2.1 for HTK-3.4 with tar.gz files
To: hts-users@xxxxxxxxxxxxxxx


I guess PATCH is not installed by default. When I installed cygwin, I had to select "patch" manually. Try looking for it during the process of installing cygwin. It is not that difficult to find.

--
Hui LIANG

--- On Sat, 13/12/08, Mohamed Abdou <eng.yamany@xxxxxxxxxxx> wrote:
From: Mohamed Abdou <eng.yamany@xxxxxxxxxxx>
Subject: [hts-users:01833] Re: having problem patching HTS-2.1 for HTK-3.4 with tar.gz files
To: "HTS Users" <hts-users@xxxxxxxxxxxxxxx>
Date: Saturday, 13 December, 2008, 12:26 AM

patch command not found in cgywin


Date: Fri, 12 Dec 2008 16:45:19 +0100
From: alexis.moinet@xxxxxxxxxx
Subject: [hts-users:01832] Re: having problem patching HTS-2.1 for HTK-3.4 with tar.gz files
To: hts-users@xxxxxxxxxxxxxxx

Hi Mohamed,

sorry for "not responding", as I said there are some problems with my e-mails recently (some seem to be dropped silently :-s)

here is the answer I tried to send :

Hi Mohamed

here are the steps (as far as I can remember, I'm using Linux now) :

1. Download and install cygwin
2. re-run the cygwin install. it will propose a list of program to install, I think you should at least select make, gcc and sox if they are not already installed.
3. download htk-3.4 (and hdecode) *for linux* (not windows) and HTS-2.1 (and hts-demo in case you want the demo)
4. unzip htk and hts in some cygwin folder (e.g. : open windows explorer and unzip them in c:\cygwin\home\mohamed)
5. open cygwin environment (it's a linux-like command line). Normally it will open with /home/mohamed as its current folder (type "pwd" to check). Then follow the step from hts install instruction (patch htk + ./configure + make + make install + the make for hdecode (the exact command-line for hdecode is given once the first "make" succeeds)).
5.1.. in case the HTS patch to htk returns some errors, you will have to apply manually the part of the patch that didn't work (usually, it's just a few line to change in one or two files). This is generally due to windows..
5.2. in case the ./configure doesn't work, it's usually due to some missing component : return to step 2 and install the missing component
6. ....
7. enjoy !

Alexis

Alexis

Mohamed Abdou a écrit :
Dear Alexis,
I have sent you an email lately, that's  why I wnondered why you didn't reply me. Aren't there any way to patch HTS under windows that's one.
two: I already installed cygwin and I installed the HTk successfully (except HSLab) then ihave downloaded HTS demo Hdecode as i mentioned before and i cann't proceed to the next step. waiting for  reply
thanx for your help
Mohamed




Date: Fri, 12 Dec 2008 15:58:41 +0100
From: alexis.moinet@xxxxxxxxxx
Subject: [hts-users:01829] Re: having problem patching HTS-2.1 for HTK-3.4 with tar.gz files
To: hts-users@xxxxxxxxxxxxxxx

patch is a GNU/linux program

In order to obtain and use it with windows you need to install either cygwin (http://www.cygwin.com/), minGW (http://www.mingw.org/) or GNUwin32 (http://gnuwin32.sourceforge.net/packages/patch.htm).

Alexis

PS: I had some trouble with my e-mail lately, Mohamed did you get my answer to your questions about "Installing HTS under windows" ?

Mohamed Abdou a écrit :
Dear All,
 I have downloaded HTK3.4 successfully and working under windows cmd. I passed the tutorial of HTK book and every thing is ok till now. To synthesize speech as I read so far I have downloaded Hdecode and HTS-2.1. as they should be patched under windows or linux. I failed patchingunder windows. I unzipped the HTS and copied all files contained in HTS folder into the htk folder same with Hdecode i copied the whole folder in htk. Then I have gone to windows cmd and tried

e:\HTK-3.4\htk\patch -p1 -d . < HTS-2.1_for_HTK-3.4.patch

the error was patch is not recognized as internal or external command.

 

any one could help me as i have my wave files and i want totrain HMMs and synthesize Arabic speech.

Best Regards

Mohamed A. Al Moghalis




Get news, entertainment and everything you care about at Live.com. Check it out!

Get news, entertainment and everything you care about at Live.com. Check it out!

References
[hts-users:01833] Re: having problem patching HTS-2.1 for HTK-3.4 with tar.gz files, Mohamed Abdou
[hts-users:01834] Re: having problem patching HTS-2.1 for HTK-3.4 with tar.gz files, Tienshyang Huei Liang