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

Convert a discrete HMM to a continuous or a semi-continuous HMM. More...

Detailed Description

Convert a discrete HMM to a continuous or a semi-continuous HMM.

spr_hmmd2c <-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] [-nsel NrGaussPerState]
    [-SC](flag: ) [-pool pooled_sigmas](-1.0)
Parameters
-i<em>hmm_file</em><aname="spr_hmmd2c.i" class="el">
HMM-file to read.
-gi<em>mvg_file</em><aname="spr_hmmd2c.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_hmmd2c.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_hmmd2c.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_hmmd2c.am_opt" class="el">
Extra options for loading the acoustic model.
-o<em>hmm_file</em><aname="spr_hmmd2c.o" class="el">
HMM-file to write to. If not specified, the input HMM will be overwritten.
-go<em>hmm_file</em><aname="spr_hmmd2c.go" class="el">
MVG-file to write to. By default the input mvg file will be overwritten.
-selo<em>sel_file</em><aname="spr_hmmd2c.selo" class="el">
SEL-file to write to. By default is input sel file will be overwritten.
-nu<em>unit_fname</em><aname="spr_hmmd2c.nu" class="el">
Specify a new unit file to write the units to (or as input for rearanging the existing units).
-nsel<em>NrGaussPerState</em><aname="spr_hmmd2c.nsel" class="el">
Indicates the number of gaussians per state for each of the mixtures. If one value is given, it is used for all mixtures. Else a value per mixture must be given. Separate values with a blanc.
-SCflag
Give semi-continuous densities as output.
-pool<em>pooled_sigmas</em><aname="spr_hmmd2c.pool" class="el">
Pooled variances: you can fix all variance at one specified value.

Convert a discrete HMM to a continuous or a semi-continuous HMM. Convert a given discrete HMM to a continuous or a semi-continuous HMM. The underlying idea is to approach the distribution in each VQ-region with a gaussian density. The means remain, the sigmas should be calculated before running this program, because spr_hmmd2c requires the gaussians as input. with option -nsel, the number of gaussians in a state for each of the mixtures can be given. Separate the values for the different mixtures with blancs. The nsel value must be given for CD_HMM, if it is given for SC_HMM, a reduced SC_HMM results. The HMM states are always normalised. Choose SC_HMM with the -SC flag. With option -pool, all variances in the gaussians can be set to the given value.

Revision History:
01/96, JD
added hmmd2c
07/97, JD
rewritten for extended hmm structures (state-variable mixture dimension, linear or logarithmic probabilities in HMM, ...)