interp.h File Reference

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...

#include <s3types.h>
#include <logmath.h>

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_tinterp_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)

Detailed Description

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.


Function Documentation

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.

Returns:
0 if successful, -1 otherwise.
Parameters:
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.

Returns:
0 if successful, -1 otherwise.
Parameters:
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.

Returns:
an initialized interp_t structure

Generated on 7 Mar 2010 by  doxygen 1.6.1