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