Persistent 8522 error

66 views
Skip to first unread message

Christian DiCanio

unread,
May 14, 2017, 1:06:11 PM5/14/17
to FAVE (Force Alignment and Vowel Extraction) Users Group
Dear FAVE Align Group,

I've followed Josef's instructions on how to install FAVE-align on my macbook pro, but I seem to have persistent errors. I installed a new version of HTK without any problems (I included the fix for the X11 issue). I have had SoX installed for a while (I use it for another aligner). I then edited the HRec.c file, as per Josef's and other's instructions. I edited my .bash_profile document to include the right path to SoX. However, I still get the following error when I attempt to use FAVE-align on a file I've created myself:

=====

MacBook-Pro-4:FAVE-align cdicanio$ python FAAValign.py test.wav test.txt test.TextGrid

Encoding is UTF-16!

Encoding is UTF-8!

temp_dict is test.wav_dict.

  ERROR [+8522]  LatFromPaths: Align have dur<=0 

 FATAL ERROR - Terminating program HVite

ERROR!  Alignment failed for chunk 1 (speaker Christian, text THIS IS A TEST).


Traceback (most recent call last):

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

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

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

    raise Exception, FA_error

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



Continuing alignment...

WARNING!  Alignment failed for some annotation units!

Alignment errors saved to file test.errorlog.

=====


My text file is properly formatted. It contains the following text:

CD Christian 0 2.87 this is a test


The sound file consists of me saying "This is a test." Error 8522, as I understand it, arises when one has not edited the HRec.c file to permit durations of 0. However, I still seem to be getting this error. FAVE-align will work fine for me for the test examples: BREY00538.txt and BREY00538.wav. So, is there something about the input format that I don't yet understand? Thank you.

Cordially,
Christian DiCanio
SUNY Buffalo
test.txt
test.wav
Reply all
Reply to author
Forward
0 new messages