SPRAAK
|
Conversion of acoustic likelihoods/probabilities. More...
Functions | |
void | spr_am_cvt_free (SprSspInfo *Info) |
int | spr_am_cvt_setup (SprSspInfo *Info, const char **descript, void *aux_info) |
int | spr_am_cvt_process (SprSspInfo *Info, const void *frame_in, void *frame_out) |
Conversion of acoustic likelihoods/probabilities.
Conversion of (scaled) acoustic likelihoods / probabilities.
[am_cvt] | ||
---|---|---|
% | ||
Conversion of (scaled) acoustic likelihoods / probabilities. | ||
from <options> | ||
options (options are seperated by a ';' character): | ||
log=<int:val>(0) | ||
indicate whether the input/output is / must be stored as linear values of log values | ||
LIN | ||
indicate that the input/output is / must be stored as linear values | ||
LOG | ||
indicate that the input/output is / must be stored as log values | ||
LOG10(NULL) | ||
indicate that the input/output is / must be stored as log10 values | ||
scale=<F32:val>(-1) | ||
the input/output values are / must be multiplied with this factor (log values) or raisen to that power (linear) | ||
scale_inv=<F32:val>(-1) | ||
1.0/<scale>, i.e. multiply with this factor (log values) or raise to that power (linear) to obtain natural log / linear values | ||
norm=<int:val>(1) | ||
indicate whether the input/output is/must be normalized (1) or not (0) | ||
NORM | ||
indicate that the input/output is / must be normalized | ||
NONORM | ||
indicate that the input/output is not / must not be normalized | ||
floor=<int:val>(0) | ||
indicate whether the input/output is / must be floored (1) or not (0) | ||
FLOOR | ||
indicate that the input/output is / must be floored | ||
NOFLOOR | ||
indicate that the input/output is not / must not be floored | ||
postprob=<int:val>(0) | ||
indicate whether the inputs/outputs are (scaled) posteriors (1) or (scaled) likelihoods (0) | ||
POSTPROB | ||
indicate that the inputs/outputs are (scaled) posteriors | ||
LIKELIHOOD | ||
indicate that the inputs/outputs are (scaled) likelihoods | ||
tot_prob=<int:val>(0) | ||
indicate whether the total (log) likelihood is / must be calculated or not | ||
TOT_PROB(NULL) | ||
indicate whether the total (log) likelihood is / must be calculated | ||
entropy=<int:val>(0) | ||
indicate whether the entropy is / must be calculated or not | ||
ENTROPY(NULL) | ||
the entropy is / must be calculated | ||
Define the input format, i.e. select one of the various formats that the acoustic likelihoods/probabilities can have. | ||
to <options> | ||
options (options are seperated by a ';' character): | ||
log=<int:val>(0) | ||
indicate whether the input/output is / must be stored as linear values of log values | ||
LIN | ||
indicate that the input/output is / must be stored as linear values | ||
LOG | ||
indicate that the input/output is / must be stored as log values | ||
LOG10(NULL) | ||
indicate that the input/output is / must be stored as log10 values | ||
scale=<F32:val>(-1) | ||
the input/output values are / must be multiplied with this factor (log values) or raisen to that power (linear) | ||
scale_inv=<F32:val>(-1) | ||
1.0/<scale>, i.e. multiply with this factor (log values) or raise to that power (linear) to obtain natural log / linear values | ||
norm=<int:val>(1) | ||
indicate whether the input/output is/must be normalized (1) or not (0) | ||
NORM | ||
indicate that the input/output is / must be normalized | ||
NONORM | ||
indicate that the input/output is not / must not be normalized | ||
floor=<int:val>(0) | ||
indicate whether the input/output is / must be floored (1) or not (0) | ||
FLOOR | ||
indicate that the input/output is / must be floored | ||
NOFLOOR | ||
indicate that the input/output is not / must not be floored | ||
postprob=<int:val>(0) | ||
indicate whether the inputs/outputs are (scaled) posteriors (1) or (scaled) likelihoods (0) | ||
POSTPROB | ||
indicate that the inputs/outputs are (scaled) posteriors | ||
LIKELIHOOD | ||
indicate that the inputs/outputs are (scaled) likelihoods | ||
tot_prob=<int:val>(0) | ||
indicate whether the total (log) likelihood is / must be calculated or not | ||
TOT_PROB(NULL) | ||
indicate whether the total (log) likelihood is / must be calculated | ||
entropy=<int:val>(0) | ||
indicate whether the entropy is / must be calculated or not | ||
ENTROPY(NULL) | ||
the entropy is / must be calculated | ||
Define the output format, i.e. select one of the various formats that the acoustic likelihoods/probabilities can have. | ||
read <fname> | ||
Read the priors from a given file. The file <fname> can be a mvg-file, an hmm-file or a simple matrix (vector) containing the (scaled) priors. In case an HMM is read, the average mixture size is set as well (see the lmo command). | ||
set priors <expression> ... | ||
Set the priors to some values. | ||
normalize priors | ||
Normalize the priors so they add up to 1.0 | ||
lmo <log_min_out>(0.0) [av_ngps](1.0) | ||
Set the relative flooring value to avoid zero probs for non evaluated Gaussians. If a non-zero <av_ngps> (average number of Gaussians per state) is given, the LMO is automatically decreased by log2(av_ngps). If an HMM was read before (see the read command) and <av_ngps> is zero, then <av_ngps> is derived from the HMM. |