error running FAVE-align on OS version 10.9.4

134 views
Skip to first unread message

Sophie Holmes-Elliott

unread,
Oct 14, 2014, 10:22:15 AM10/14/14
to fave-...@googlegroups.com
Hi everyone,

Thanks to everyone who responded to the last post about the FAVE vs manual alignment, the bid's gone in now so here's hoping.

Anyway, we've now got another error and I was wondering if anyone had also encountered this and/or knew of a fix...

We’ve been having some trouble when trying to run FAVE-align on a laptop that hasn’t previously been used for FAVE – it gets through the first and second dictionary checks ok, but then when we enter the forced alignment formula it returns multiple error messages and generates a separate TextGrid for every chunk of speech. We think it could be down to the operating system (the new laptop is version 10.9.4 while the first laptop, which can run FAVE successfully, is version 10.8.5)?

Thanks!

Sophie

Daniel Ezra Johnson

unread,
Oct 14, 2014, 10:26:38 AM10/14/14
to fave-...@googlegroups.com
I am having a similar problem as a first-time FAVEr, as some of you already know. It appears to cut up the audio file correctly, and also deals with the .txt file correctly, but every attempt at alignment (HVite) fails with messages like this:

Generated main TextGrid.

Duration of sound file:  2152.833000 seconds.

Deleted empty lines from original transcription file.

Processing Valenti_Gina_PA40F -- chunk 1:  ANYWHERE FROM THREE TO SIX AND MAY GET MORE BUT IT'S SUPPOSED TO BE VERY WINDY ALMOST

Sound chunk VALENTI_GINA_PA40F_Valenti_Gina_PA40F_chunk_1.wav successfully extracted.

  ERROR [+5010]  InitSource: Cannot open source file and

  ERROR [+7010]  InitHMMSet: Can't open list file and

  ERROR [+3228]  Initialise: MakeHMMSet failed

 FATAL ERROR - Terminating program HVite

ERROR!  Alignment failed for chunk 1 (speaker Valenti_Gina_PA40F, text ANYWHERE FROM THREE TO SIX AND MAY GET MORE BUT IT'S SUPPOSED TO BE VERY WINDY ALMOST).


Traceback (most recent call last):

  File "FAAValign.py", line 1581, in FAAValign

    align(os.path.join(tempdir, chunkname_sound), [text], os.path.join(tempdir, chunkname_textgrid), FADIR, SOXPATH, HTKTOOLSPATH)

  File "FAAValign.py", line 213, in align

    raise Exception, FA_error

Exception: Error in aligning file VALENTI_GINA_PA40F_Valenti_Gina_PA40F_chunk_1.wav:  list index out of range.


The end result is a single TextGrid that is blank/unusable. Any help is much appreciated.


Dan

Joseph Flanagan

unread,
Oct 15, 2014, 4:08:50 AM10/15/14
to fave-...@googlegroups.com
I'm also having troubles. I'm a new time user, so I'm not sure if this is the same as the ones above or if it is something I'm doing.  Here's the error message I'm receiving (OS 10.9.5):

Any help would likewise be appreciated. 

Joe 


Joseph Flanagan

unread,
Oct 15, 2014, 4:31:57 AM10/15/14
to fave-...@googlegroups.com
Thanks Dan. The problem was that HTK was properly installed. Everything worked fine now. 

Joe 

Josef Fruehwald

unread,
Oct 15, 2014, 5:40:04 AM10/15/14
to fave-...@googlegroups.com
Hi Sophie,

Could you paste some of the errors into a message. My gut feeling is that if you're getting textgrids out, HTK is working, but maybe this is a python issue. FAVE was build assuming python 2.x, but maybe you've installed python 3.x? Could you try pasting this command into the command line?

python -c 'print __import__("sys").version'

When I do, I get:

2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)

The first three numbers, 2.7.6, is my python version. It's just important that it be 2.something not 3.something.

-Joe

--
You received this message because you are subscribed to the Google Groups "FAVE (Force Alignment and Vowel Extraction) Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fave-users+...@googlegroups.com.
To post to this group, send email to fave-...@googlegroups.com.
Visit this group at http://groups.google.com/group/fave-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fave-users/620fd2f5-7741-4bb9-880a-8470effbb667%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Josef Fruehwald

unread,
Oct 15, 2014, 5:45:48 AM10/15/14
to fave-...@googlegroups.com
Dan, what operating system are you using? This doesn't look like an HTK bug that I've seen before and I'm having trouble replicating it. Do you have sox installed? What does this return?

soxi Valenti_Gina_PA40F.wav

--
You received this message because you are subscribed to the Google Groups "FAVE (Force Alignment and Vowel Extraction) Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fave-users+...@googlegroups.com.
To post to this group, send email to fave-...@googlegroups.com.
Visit this group at http://groups.google.com/group/fave-users.

Daniel Ezra Johnson

unread,
Oct 15, 2014, 5:56:56 AM10/15/14
to fave-...@googlegroups.com
sox is installed, the command soxi returns:

Input File     : '/Users/dej/Linguistics/Jen and Dan/New England/Transcripts and aligned textgrids/Valenti/VALENTI_GINA_PA40F.WAV'

Channels       : 1

Sample Rate    : 44100

Precision      : 16-bit

Duration       : 00:35:52.83 = 94939914 samples = 161462 CDDA sectors

File Size      : 190M

Bit Rate       : 706k

Sample Encoding: 16-bit Signed Integer PCM


OS: OS X 10.9.5

Python: 2.7.5 (default, Mar  9 2014, 22:15:05) 

[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]


:-(

D

Josef Fruehwald

unread,
Oct 15, 2014, 6:09:19 AM10/15/14
to fave-...@googlegroups.com
Are you running FAAValign with the wav file in the FAVE-align directory? That's another thing I could think of that for some reason it's not handling non-local files well.

-Joe

--
You received this message because you are subscribed to the Google Groups "FAVE (Force Alignment and Vowel Extraction) Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fave-users+...@googlegroups.com.
To post to this group, send email to fave-...@googlegroups.com.
Visit this group at http://groups.google.com/group/fave-users.

Daniel Ezra Johnson

unread,
Oct 15, 2014, 6:16:01 AM10/15/14
to fave-...@googlegroups.com, Jennifer Nycz, Shannon Mooney
Yeah, that was it.

Interesting because it was already putting the temporary/chunk files in the FAVE-align directory. But yeah, that fixed it.

Thanks Joe!!
D

Josef Fruehwald

unread,
Oct 15, 2014, 6:25:09 AM10/15/14
to fave-...@googlegroups.com, Jennifer Nycz, Shannon Mooney
If you don't feel like copy-pasting these files around, you can symlink to them. I can't articulate the benefits, but it seems safer/more efficient to me. That would work like

ln -s non_local_directory/sound.wav sound.wav

You haven't made another copy of the file, but it'll behave like it's also in that directory now. You should be able to run FAAValign no problem, and when you're done

unlink sound.wav

And the symlink is gone.

-Joe

Reply all
Reply to author
Forward
0 new messages