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

Combine two HMMs by summing the moments. More...

Detailed Description

Combine two HMMs by summing the moments.

spr_hmmsum <-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] [-i2 FilenameOfHmmToAdd]
    [-gi2 FilenameOfMVGToAdd] [-seli2 FilenameOfSelectToAdd] [-u2 UnitFileForHmmToAdd]
Parameters
-i<em>hmm_file</em><aname="spr_hmmsum.i" class="el">
HMM-file to read.
-gi<em>mvg_file</em><aname="spr_hmmsum.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_hmmsum.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_hmmsum.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_hmmsum.am_opt" class="el">
Extra options for loading the acoustic model.
-o<em>hmm_file</em><aname="spr_hmmsum.o" class="el">
HMM-file to write to. If not specified, the input HMM will be overwritten.
-go<em>hmm_file</em><aname="spr_hmmsum.go" class="el">
MVG-file to write to. By default the input mvg file will be overwritten.
-selo<em>sel_file</em><aname="spr_hmmsum.selo" class="el">
SEL-file to write to. By default is input sel file will be overwritten.
-nu<em>unit_fname</em><aname="spr_hmmsum.nu" class="el">
Specify a new unit file to write the units to (or as input for rearanging the existing units).
-i2<em>FilenameOfHmmToAdd</em><aname="spr_hmmsum.i2" class="el">
Second HMM.
-gi2<em>FilenameOfMVGToAdd</em><aname="spr_hmmsum.gi2" class="el">
If specified, this MVG file is read instead of the MVG file given in the header of the additional HMM.
-seli2<em>FilenameOfSelectToAdd</em><aname="spr_hmmsum.seli2" class="el">
If specified, this SELECT file is read instead of the SELECT file given in the header of the additional HMM.
-u2<em>UnitFileForHmmToAdd</em><aname="spr_hmmsum.u2" class="el">
If specified, this unit file is used to read the additional HMM, instead of the file corresponding to the filename in the header of that HMM.

Combine two HMMs by summing the moments. The idea is that the input HMM and the second HMM (given with option -i2, and options -gi2, -seli2 and -u2 or their defaults in the HMM keys) are based on the same HMM but trained on different parts of a training corpus. The output HMM then is the result of training with the sum of these two partial corpora (at least if the thresholds LOGMINSIL and LOGMINSPCH used during training are low enough). In order to do this, the fields that indicate the number of frames on which a state or gaussian is based should be filled in.

Revision History:
01/98, JD
creation