SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
cwr_am_pp.c File Reference

Post-processing of acoustic log/linear probabilities/likelihoods. More...

Functions

float * spr_am_cvt_oprob (SprAcmod *restrict am, float *restrict pvec, unsigned int fmt)
 
int spr_am_cvt_oprob_set (SprAcmod *restrict am, unsigned int fmt, float asf)
 

Detailed Description

Post-processing of acoustic log/linear probabilities/likelihoods.

Post-processing of acoustic (scaled) probabilities or likelihoods, using either a linear scale or a logarithmic scale. The routines convert the input to normalized log likelihoods (== scaled likelihoods) and compute the acoustic entropy since this helps in keeping the beam search in check. Conversion between linear and logarithmic scales are fast, at the cost of some precision. Not all conversions are implemented optimally; there are just way too many different conversion options.

Date
July 2016
Author
Kris Demuynck