Convert a (semi)continuous density HMM to a discrete HMM or to a not-reduced semi-continuous HMM.
More...
Convert a (semi)continuous density HMM to a discrete HMM or to a not-reduced semi-continuous HMM.
spr_hmmc2d <-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] [-SC](flag: )
[-l MinimalProbability](-4.0)
- Parameters
-
-i<em>hmm_file</em><a | name="spr_hmmc2d.i" class="el">
HMM-file to read. |
-gi<em>mvg_file</em><a | name="spr_hmmc2d.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><a | name="spr_hmmc2d.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><a | name="spr_hmmc2d.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><a | name="spr_hmmc2d.am_opt" class="el">
Extra options for loading the acoustic model. |
-o<em>hmm_file</em><a | name="spr_hmmc2d.o" class="el">
HMM-file to write to. If not specified, the input HMM will be overwritten. |
-go<em>hmm_file</em><a | name="spr_hmmc2d.go" class="el">
MVG-file to write to. By default the input mvg file will be overwritten. |
-selo<em>sel_file</em><a | name="spr_hmmc2d.selo" class="el">
SEL-file to write to. By default is input sel file will be overwritten. |
-nu<em>unit_fname</em><a | name="spr_hmmc2d.nu" class="el">
Specify a new unit file to write the units to (or as input for rearanging the existing units). |
-SCflag |
Give semi-continuous densities as output in hmmd2c or hmmc2d. |
-l<em>MinimalProbability</em><a | name="spr_hmmc2d.l" class="el">
Used in setminprob for setting selected probabilities, in mktopology(FENON) as probability for the skips, and in hmmc2d to fill in all not available probabilities. Use linear value in linear HMMs and log value else. |
Convert a (semi)continuous density HMM to a discrete HMM or to a not-reduced semi-continuous HMM. Converts a given (semi)continuous density HMM to a discrete HMM or to a not-reduced semi-continuous HMM (option -SC). The difference between the DD_HMM and the SC_HMM result is small: with each gaussian density, a VQ centre corresponds. Note that for SC_HMM, the resulting gaussians (copies of the input gaussians) will be written, but this program does not write the code books for DD_HMM. One can create them with the 'copy' program, by simply copying the first half of the parameters of the gaussians (the means). For all unavailable weights in the HMM (weights for gaussians that were not used in that state in the old model), a minimal probability is set (option -l). The resulting HMM states are always normalised.
- Revision History:
- 01/96, JD
- creation
- 07/97, JD
- rewritten for extended hmm structures (state-variable mixture dimension, linear or logarithmic probabilities in HMM, ...)