But the hypseg file is never created. Also in the sourcecode I could not find
section where writing hypseg job is done (like the one in sphinx3_decode). Is
this param working fine with anyone?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually I need unscaled acoustic scores, (that's why I was going for hypseg)
and I'm not sure whether the scores given in wdseg files have been unscaled or
not (there is no -hypsegscore_unscale option in sphinx3_align).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I did one test. I compared the decode acoustic scores with align scores. When
I keep -hypsegscore_unscale no only then the decoder score is near to the
align score
Decoder ASCR for a word (with -hypsegscore_unscale yes) = 993077
Decoder ASCR for the same word (with -hypsegscore_unscale no) = -902992
Align score from wdseg = -913451
I added following code to write_stseg function
It may be possible to unscale wrt best senones by keeping track of
ascr->cache_best_list and using it when the stseg scores are updated in
backtrace (build_stseg, build_phseg, build_wdseg etc.). I tried it but it gave
some other error (somehow stseg->pid was assigned a very high value, assertion
failed at one place). Anyway, it can be fixed I guess if somebody needs ..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I built sphinx3 from SVN, (downloaded on 9th March). I am using sphinx3_align
with -hypseg parameter
But the hypseg file is never created. Also in the sourcecode I could not find
section where writing hypseg job is done (like the one in sphinx3_decode). Is
this param working fine with anyone?
Thanks.
Actually I need unscaled acoustic scores, (that's why I was going for hypseg)
and I'm not sure whether the scores given in wdseg files have been unscaled or
not (there is no -hypsegscore_unscale option in sphinx3_align).
Hello
wdseg is unscaled.
Thanks.
Hello,
I did one test. I compared the decode acoustic scores with align scores. When
I keep -hypsegscore_unscale no only then the decoder score is near to the
align score
Decoder ASCR for a word (with -hypsegscore_unscale yes) = 993077
Decoder ASCR for the same word (with -hypsegscore_unscale no) = -902992
Align score from wdseg = -913451
I added following code to write_stseg function
str2 was defined as char str2; by me
Some example lines which were created in stseg file were -
And in wdseg I have
The sum of acoustic scores of states of first 3 frames ( 0 -29907 -35769) is
exactly equal to wdseg of
. Same thing happens for the second word.As all the state level scores are negative, I think scaling by the best senone
is not undone anywhere in the code.
These were the best senone scores for the first 3 frames-
Update: It seems there are two kinds of scalings used in sphinx3_align
Only second kind of scaling is undone in build_stseg() . The code is
In order to make the scores compatiable with decoder unscaled scores further
unscaling will be reqd I guess.
It may be possible to unscale wrt best senones by keeping track of
ascr->cache_best_list and using it when the stseg scores are updated in
backtrace (build_stseg, build_phseg, build_wdseg etc.). I tried it but it gave
some other error (somehow stseg->pid was assigned a very high value, assertion
failed at one place). Anyway, it can be fixed I guess if somebody needs ..