SPRAAK
|
Concatenate two HMMs. More...
Concatenate two HMMs.
spr_hmmmerge <-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]
-i<em>hmm_file</em><a | name="spr_hmmmerge.i" class="el"> HMM-file to read. |
-gi<em>mvg_file</em><a | name="spr_hmmmerge.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_hmmmerge.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_hmmmerge.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_hmmmerge.am_opt" class="el"> Extra options for loading the acoustic model. |
-o<em>hmm_file</em><a | name="spr_hmmmerge.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_hmmmerge.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_hmmmerge.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_hmmmerge.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><a | name="spr_hmmmerge.i2" class="el"> Second HMM. |
-gi2<em>FilenameOfMVGToAdd</em><a | name="spr_hmmmerge.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><a | name="spr_hmmmerge.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><a | name="spr_hmmmerge.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. |
Concatenate two HMMs. Adds a second HMM (given with option -i2, and options -gi2, -seli2 and -u2 or their defaults in the HMM keys) to the input hmm. Along with the output hmm, a new unit file is printed (-nu). To avoid confusion, each spelling in the input unit file is extended with _1 and each spelling in the additional units is extended with _2. Exception is the first noise unit, the spelling of this unit remains unchanged. For DD_HMM and SC_HMM, one should take care that the HMMs are based on the same codebooks or gaussians (NO checking). For SC_HMM, the input gaussians are written as output.