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

Check the validity of an HMM. More...

Detailed Description

Check the validity of an HMM.

spr_hmmcheck <-i hmm_file> [-gi mvg_file] [-seli sel_file] [-u unit_fname] [-am_opt acmod_opt]
    [-U Unit#s1:s2] [-S](flag: ) [-N](flag: ) [-G](flag: ) [-O](flag: ) [-T](flag: )
Parameters
-i<em>hmm_file</em><aname="spr_hmmcheck.i" class="el">
HMM-file to read.
-gi<em>mvg_file</em><aname="spr_hmmcheck.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_hmmcheck.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_hmmcheck.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_hmmcheck.am_opt" class="el">
Extra options for loading the acoustic model.
-U<em>Unit\s1:s2</em><aname="spr_hmmcheck.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

Check the validity of an HMM. Checks on the input file if probabilities sum up to one. Writes out the sums to stdout. Option -T to check transition probabilities, -O to check output probabilities per mixture, default both. Options -U, -S, -N and -G to choose which units (and subunits) to check.

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, ... - addition of programs hmmnormalize, hmmmerge, hmmshake. - addition of rewritten initph2wm, original version by JS.
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
11/11, KD
cleanup in SPRAAK