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
|