Entry posted: Monday, July 30th, 2007, 11:38 am ; filed under Speech Technology. RSS 2.0 |
Responses are currently closed, but you can trackback from your own site.
Hi, could you help me please.
You could send me the source files without the multiple carriage returns (’\r’) at line ends??? Or where i can get the HTK-3.3 version???
Because i followed all the steps but i can’t run the HSLab.exe
When i tried i received the error above:
C:\Toolkit\htk>HSLab genesis.sig
ERROR [+6870] MakeXGraf: Not compiled with X11 support: use HGraf.X.c
FATAL ERROR - Terminating program HSLab
Your error is not due to the line-ends, it’s because HTK has been compiled without support for X — in fact I get the same error when I try to run HSLab on an audio file. I get the same error whether I use the cygwin or the VSExpress version of HSLab.
I can only think of two things to suggest:
(a) Run it under Linux (which will have X), or;
(b) if you’re running under cygwin, install X in cygwin,
recompile htk without making Mark Huckvale’s changes,
and try again.
Let me know how you get on — especially if you try plan (b)!
You can also use MS Visual Studio. The article should have a table of contents. Look for the section in the article above ‘Using Visual Studio Express’.
hello,it’s the first time i use HTK.
I compile it as what sayes in the README.But it doesn’t metioned about cygwin.Shoud i have to use it?
My english is not so good and i hope you can understand me.
Thank you!
I’ve reformatted the post slightly, with a table of contents, to make it easier to use.
I haven’t covered getting hslab to run on Windows, which I think is a separate issue. I hope to look into that in the near future. In the meantime, I recommend Praat for labelling, and Praat or SpeechRecorder for recording.
hi,
When I enter this command “nmake /f htk_htklib_nt.mkf all”, I have this error : htk_htklib_nt.mkf : fatal error U1035: ‘expected : or = seperator
So can you please help me
Hi,
could you help me please.
You could send me the source files without the multiple carriage returns (’\r’) at line ends???
When I enter this command “nmake /f htk_htklib_nt.mkf all”, I have this error : htk_htklib_nt.mkf : fatal error U1035: ‘expected : or = seperator
i couldn’t run Python script file for strip out “\r” from all source files.
Hi,
I used the python script to remove the carriage returns… They do get removed but I still continue to get the same error as Mahdi.
Could u please guide?
If you’ve run the (corrected version of) the script, or otherwise removed the spurious line-endings, then nmake should run fine. Look at which source file is causing your error; look at that file in a text editor; check the line-endings.
If the line-endings are OK, then I can’t explain your error.
sir will you please help me? sir when i tried to run the HTK Demo, i found that some of the files are missing and they are accs,hmmms,proto and test.will you be able to help me in finding these files… thank you for spending time to read this message
Hi Ivan, I have successfully built HTK 3.4 following your advice. I convert the Mac files to Windows ones using Notepad++ and post the method here. I thought the readers might interest
After getting rid of a lot of errors, I finally managed to do things on read me file. However, now there is an error while running HTKDemo which is as below:
can’t open proto at .\MakeProtoHMMSet line 101, line
can’t open hmms\hmm.0
Thank you for your continued interest in this post. I shall be working with HTK again later this year. I shall write an update of this post and hope to answer your comments then.
August 28th, 2007 at 3:41 pm
Hi, could you help me please.
You could send me the source files without the multiple carriage returns (’\r’) at line ends??? Or where i can get the HTK-3.3 version???
Because i followed all the steps but i can’t run the HSLab.exe
When i tried i received the error above:
C:\Toolkit\htk>HSLab genesis.sig
ERROR [+6870] MakeXGraf: Not compiled with X11 support: use HGraf.X.c
FATAL ERROR - Terminating program HSLab
August 28th, 2007 at 4:30 pm
Hi Nelson, thanks for your post.
Your error is not due to the line-ends, it’s because HTK has been compiled without support for X — in fact I get the same error when I try to run HSLab on an audio file. I get the same error whether I use the cygwin or the VSExpress version of HSLab.
I can only think of two things to suggest:
(a) Run it under Linux (which will have X), or;
(b) if you’re running under cygwin, install X in cygwin,
recompile htk without making Mark Huckvale’s changes,
and try again.
Let me know how you get on — especially if you try plan (b)!
December 27th, 2007 at 3:06 pm
Do I need GCC in the case of windows.
What is the corresponding command for ./configure for window XP.
Thank you.
December 28th, 2007 at 10:32 pm
Kasaye:
If you’re compiling within cygwin, use gcc, and you can use ./configure; make; make install - cygwin is a unix environment.
If you’re using VS, that provides the compiler and the nmake command (see above).
Ivan
January 25th, 2008 at 8:57 am
how to use Cygwin to compile HTK?
is there any other alternative?
January 25th, 2008 at 10:13 am
You can also use MS Visual Studio. The article should have a table of contents. Look for the section in the article above ‘Using Visual Studio Express’.
Ivan
February 8th, 2008 at 2:39 pm
hello, how i can install X in cygwin, or exist any other solution for run hslab.exe in windows, without use cygwin
thanks
March 3rd, 2008 at 1:20 pm
hello,it’s the first time i use HTK.
I compile it as what sayes in the README.But it doesn’t metioned about cygwin.Shoud i have to use it?
My english is not so good and i hope you can understand me.
Thank you!
March 4th, 2008 at 10:54 pm
Hi, I did this C:\path\to\htk\HTKLib>nmake /f htk_htklib_nt.mkf clean but the error continues, can someone help me please?
Thank you!!!!
March 5th, 2008 at 11:54 am
Hi, I hope that you can help me;
how can i read waveforms enregistred with praat using htk3.3 version
March 7th, 2008 at 11:11 am
Dear All,
Thanks for your comments.
I’ve reformatted the post slightly, with a table of contents, to make it easier to use.
I haven’t covered getting hslab to run on Windows, which I think is a separate issue. I hope to look into that in the near future. In the meantime, I recommend Praat for labelling, and Praat or SpeechRecorder for recording.
March 12th, 2008 at 1:55 pm
hi,
When I enter this command “nmake /f htk_htklib_nt.mkf all”, I have this error : htk_htklib_nt.mkf : fatal error U1035: ‘expected : or = seperator
So can you please help me
March 12th, 2008 at 2:50 pm
Hi, when i try to record some signal with HTK tool HSLab,
there occurs an error when i push the “rec” button:
$ HSLab blah.sig
ERROR [+6015] StartAudioInput: null audio device
FATAL ERROR - Terminating program HSLab
no idea how to fix this problem…
p.s: i use HTK-3.4 with cygwin
thanks a lot
March 13th, 2008 at 11:49 am
Houssem: Have you removed the extra carriage returns (’\r’s) from line ends? If not, please re-read the section ‘Mac’ Format above.
Nico: Have you read the introduction to the article, where I say, “These notes do not cover getting hslab to run on Windows”?
March 22nd, 2008 at 9:58 am
hi,Ivan.
when i recorded the speech, i received the error just like what the first post said.
C:\Toolkit\htk>HSLab yes01.sig
ERROR [+6870] MakeXGraf: Not compiled with X11 support: use HGraf.X.c
FATAL ERROR - Terminating program HSLab
would you plz show me how to deal with it???
thx.
March 22nd, 2008 at 10:18 am
Eric: read the introduction , where I say, “These notes do not cover getting HSLab to run on Windows, …”.
From now I on shall not approve comments asking about HSLab.
April 12th, 2008 at 1:39 pm
Hi,
could you help me please.
You could send me the source files without the multiple carriage returns (’\r’) at line ends???
When I enter this command “nmake /f htk_htklib_nt.mkf all”, I have this error : htk_htklib_nt.mkf : fatal error U1035: ‘expected : or = seperator
i couldn’t run Python script file for strip out “\r” from all source files.
April 17th, 2008 at 11:03 am
Mahdi
Thanks for your comment.
There was a typo in the convert() function in the script! It should work properly now. Many apologies.
Ivan
May 13th, 2008 at 4:19 am
Hi,
I used the python script to remove the carriage returns… They do get removed but I still continue to get the same error as Mahdi.
Could u please guide?
May 13th, 2008 at 10:35 am
Ravi
If you’ve run the (corrected version of) the script, or otherwise removed the spurious line-endings, then nmake should run fine. Look at which source file is causing your error; look at that file in a text editor; check the line-endings.
If the line-endings are OK, then I can’t explain your error.
Ivan
May 13th, 2008 at 4:16 pm
very sorry to bother again…
If it helps the exact error I get is:
htk_htklib_nt.mkf :fatal error U1035:syntax error:expected ‘:’ or ‘=’ separator
Used the corrected version n checked the source files,make files for the line-endings..there doesnt seem to be a problem in them
May 13th, 2008 at 4:37 pm
the error is
htk_htklib_nt.mkfb6b:(where the b are for angular brackets,didnt get printed above )
August 22nd, 2008 at 1:27 pm
sir will you please help me? sir when i tried to run the HTK Demo, i found that some of the files are missing and they are accs,hmmms,proto and test.will you be able to help me in finding these files… thank you for spending time to read this message
September 29th, 2008 at 8:50 am
Hi Ivan, I have successfully built HTK 3.4 following your advice. I convert the Mac files to Windows ones using Notepad++ and post the method here. I thought the readers might interest
October 1st, 2008 at 5:20 pm
M3rLinEz:
Thanks for your comment, and that’s a useful-looking technique.
Ivan
October 9th, 2008 at 9:45 am
Hello Ivan,
After getting rid of a lot of errors, I finally managed to do things on read me file. However, now there is an error while running HTKDemo which is as below:
can’t open proto at .\MakeProtoHMMSet line 101, line
can’t open hmms\hmm.0
Thanks in advance for your help
best regards
seliz
October 26th, 2008 at 12:07 pm
Hi Ivan
I followed the instructions that m3rLinEz said but still have the same error “htk_htklib_nt.mkf : fatal error U1035: ‘expected : or = seperator”
Thanks in advance
October 26th, 2008 at 11:34 pm
Dear All
Thank you for your continued interest in this post. I shall be working with HTK again later this year. I shall write an update of this post and hope to answer your comments then.
Best wishes
Ivan