Acoustic Model Discussions

Flat
error when i use the word_align.pl in pocketsphinx
User: xw920
Date: 5/6/2013 3:49 am
Views: 8273
Rating: 2

hello guys. is there anyone who are familiar with the pocketsphinx from the CMU sphinx?

i found a error when i use the word_align.pl to get the accuracy of my recognition results. when i use the word_align.pl like this:

perl word_align.pl my.transcription 1.hyp

it said that 

use of uninitialized value $ref_uttid in hash element at word_align.pl line 60, line 1.
Use of uninitialized value $ref_uttid in concatenation (.) or string at word_align.pl line 61, line 1.
UttID is not ignored but it could not found in any entries of the hypothesis file on line3 1 UTTID :

i don''t know what does these mean.

i use my transcription file as the reference file, and my transcription file is something like this:

<s>  THE BIRCH CANOE SLID ON THE SMOOTH PLANKS </s> (S_01_01)

........

and my hyp file is something like this:

THE BIRCH TO NEW SLID ON THE SMOOTH PLANKS (test/S_01_01 -10801)
GLUE THE SHEIK TO THE DARK BLUE BACKGROUND (test/S_01_02 -9494)

......

can someone help to solve this problem? why i can't use the word_align.pl?

thank you

--- (Edited on 5/6/2013 3:49 am [GMT-0500] by xw920) ---

PreviousNext