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

Set minimal probabilities in an HMM. More...

Detailed Description

Set minimal probabilities in an HMM.

spr_setminprob <-i hmm_file> [-gi mvg_file] [-seli sel_file] [-u unit_fname] [-am_opt acmod_opt]
    [-o hmm_file] [-go hmm_file] [-selo sel_file] [-nu unit_fname] [-U Unit#s1:s2] [-S](flag: )
    [-N](flag: ) [-G](flag: ) [-O](flag: ) [-T](flag: ) [-l MinimalProbability](-4.0)
Parameters
-i<em>hmm_file</em><aname="spr_setminprob.i" class="el">
HMM-file to read.
-gi<em>mvg_file</em><aname="spr_setminprob.gi" class="el">
MVG-file to read. If specified, this MVG file is read instead of the MVG file given in the header of the input HMM.
-seli<em>sel_file</em><aname="spr_setminprob.seli" class="el">
SEL-file to read. If specified, this SELECT file is read instead of the SELECT file given in the header of the input HMM.
-u<em>unit_fname</em><aname="spr_setminprob.u" class="el">
UNIT-file to read. If specified, this unit file is used to read the input HMM instead of the file corresponding to the filename in the header of the input HMM.
-am_opt<em>acmod_opt</em><aname="spr_setminprob.am_opt" class="el">
Extra options for loading the acoustic model.
-o<em>hmm_file</em><aname="spr_setminprob.o" class="el">
HMM-file to write to. If not specified, the input HMM will be overwritten.
-go<em>hmm_file</em><aname="spr_setminprob.go" class="el">
MVG-file to write to. By default the input mvg file will be overwritten.
-selo<em>sel_file</em><aname="spr_setminprob.selo" class="el">
SEL-file to write to. By default is input sel file will be overwritten.
-nu<em>unit_fname</em><aname="spr_setminprob.nu" class="el">
Specify a new unit file to write the units to (or as input for rearanging the existing units).
-U<em>Unit\s1:s2</em><aname="spr_setminprob.U" class="el">
Selection of unit and statenumbers. If unit (denoted by its name string) is not specified, units are selected according to flags -S, -N and -G. If states (integers s1 and s2, 0 as first state) are not specified, all states of all selected units are selected. If only s1 is specified, and not s2, only s1 is selected. Else, s1 ... s2 are selected.
-Sflag
-S, -N and -G select Speech, Silence, and Garbage units respectively . Can be combined, but are overruled when a unit is selected with -U. If no units are selected with flags or with -U, default all units are selected.
-Nflag
See -S
-Gflag
See -S
-Oflag
Options -O and -T select Output and Transition probabilities SprHmmProbSelOD.
-Tflag
See -O
-l<em>MinimalProbability</em><aname="spr_setminprob.l" class="el">
Clip probability values to this value. Use linear value in linear HMMs and log value else.

Set minimal probabilities in an HMM. Clip probability values to a given value.

Revision History:
03/94, JD
adapted from version HMM V4.2 to ANSI-C. - multiple minor changes (e.g some default weighting factors). - uniformization concerning selection of unit file, ...
04/94, JD
adapted for continuous densities
01/96, JD
adapted for new structures in hmm60;
07/97, JD
rewritten for extended hmm structures (state-variable mixture dimension, linear or logarithmic probabilities in HMM, ...)
08/97, JD
adapted for Gndx state2mvg indexing type