Interpolation of CD/CI senones. Interpolation is used in the time of SCHMM and it is still a very useful technique for CDHMM as some experiments shown in Broadcast news evaluation in 99. More...
Go to the source code of this file.
Classes | |
struct | interp_t |
Wrapper structure of CD/CI interpolation. More... | |
struct | interp_t::interp_wt_s |
Quick and Dirty wrapper of the CD and CI weight. More... | |
Functions | |
interp_t * | interp_init (const char *interpfile, logmath_t *logmath) |
int32 | interp_cd_ci (interp_t *ip, int32 *senscr, int32 cd, int32 ci) |
int32 | interp_all (interp_t *ip, int32 *senscr, s3senid_t *cimap, int32 n_ci_sen) |
Interpolation of CD/CI senones. Interpolation is used in the time of SCHMM and it is still a very useful technique for CDHMM as some experiments shown in Broadcast news evaluation in 99.
int32 interp_all | ( | interp_t * | ip, |
int32 * | senscr, | ||
s3senid_t * | cimap, | ||
int32 | n_ci_sen | ||
) |
Interpolate each CD senone with its corresponding CI senone score.
ip | In: Interpolation weights parameters |
senscr | In/Out: senscr[cd] interpolated with senscr[cimap[cd]], for cd >= n_ci_sen |
cimap | In: see senscr above |
n_ci_sen | In: see senscr above |
int32 interp_cd_ci | ( | interp_t * | ip, |
int32 * | senscr, | ||
int32 | cd, | ||
int32 | ci | ||
) |
Interpolate a single given CD senone with the given CI senone score.
ip | In: Interpolation weights parameters |
senscr | In/Out: senscr[cd] interpolated with senscr[ci] |
cd | In: see senscr above |
ci | In: see senscr above |
interp_t* interp_init | ( | const char * | interpfile, |
logmath_t * | logmath | ||
) |
Read a set of CD/CI senone interpolation weights from the given file. Return value: pointer to interpolation structure created. Caller MUST NOT change its contents.