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

Definition of HMM constants. More...

Data Structures

struct  SprHmmMvg
 
union  SprHmmUchar4
 
union  SprHmmGndxXXPtr
 
struct  SprHmmRmgInfo
 All information for fast selection of gaussians. More...
 
struct  SprHmmMvgs
 
struct  SprHmmState
 
struct  SprHmmStates
 structure describing a set of HMM states More...
 
struct  SprHmmSeg
 
struct  SprHmmSegs
 Structure describing a set of segments. More...
 
struct  SprHmmHmm
 Structure describing the total hmm. More...
 
struct  SprHmmTProb
 
union  SprHmmFGauss
 
struct  SprAcmod
 opaque structure (will become a class) More...
 
struct  SprAmFlagsOD
 

Typedefs

typedef unsigned char SprHmmUchar
 
typedef spr_hmm_gndx_int_or_short SprHmmGndx
 
typedef SprHmmUchar *(* _FuncPtr1_HMMDEF_ )(const struct spr_t_hmm_rmg_info *info, const float *x, const SprHmmUchar *sel_in, SprHmmUchar *restrict sel_out)
 
typedef float *(* _FuncPtr2_HMMDEF_ )(const float *x, SprAcmod *gset, float *restrict oprob)
 
typedef int(* _FuncPtr3_HMMDEF_ )(SprAcmod *gset, int action,...)
 modify the status/configuration More...
 
typedef void *(* _FuncPtr4_HMMDEF_ )(int action, void *search_space, void *ssp_des, void *data, int iframe)
 

Enumerations

enum  { SPR_HMM_VIT, SPR_HMM_FB }
 
enum  { SPR_HMM_LEFT_TO_RIGHT, SPR_HMM_FENON, SPR_HMM_BAKIS, SPR_HMM_NTOPOLOGY }
 
enum  { SPR_HMM_DS_LOG, SPR_HMM_DS_LIN, SPR_HMM_DS_EXP, SPR_HMM_NDATASCALE }
 
enum  { SPR_HMM_SELF_ARC, SPR_HMM_TRANS_ARC, SPR_HMM_NULL_ARC }
 
enum  { SPR_HMM_DD_HMM, SPR_HMM_CD_HMM, SPR_HMM_SC_HMM, SPR_HMM_NDENSTYPE }
 
enum  { SPR_HMM_IWR, SPR_HMM_CWR, SPR_HMM_CSR }
 
enum  {
  SPR_HMM_DO_END, SPR_HMM_DO_STYLE, SPR_HMM_DO_PROB, SPR_HMM_DO_TOP_N,
  SPR_HMM_DO_RMG, SPR_HMM_DO_DUR, SPR_HMM_DO_LMO, SPR_HMM_DO_SELECT,
  SPR_HMM_DO_OPTIONS, SPR_HMM_DO_CVT
}
 
enum  {
  SPR_AM_CALC_LOG, SPR_AM_CALC_POSTPROB, SPR_AM_CALC_VAR_SCALE, SPR_AM_CALC_NORMALIZED,
  SPR_AM_CALC_FLOORED, SPR_AM_CALC_TOT_PROB, SPR_AM_CALC_H, SPR_AM_CALC_MSK
}
 
enum  {
  SPR_AM_CVT_LOG, SPR_AM_CVT_POSTPROB, SPR_AM_CVT_VAR_SCALE, SPR_AM_CVT_NORMALIZED,
  SPR_AM_CVT_FLOORED, SPR_AM_CVT_TOT_PROB, SPR_AM_CVT_H, SPR_AM_CVT_MSK
}
 
enum  { SPR_AM_CVTDO_MSK }
 

Functions

int spr_am_flags_decode (const char *opt_str, int msk, SprAmFlagsOD *restrict dd, float *sf)
 

Variables

const char *const spr_hmm_str_topology [SPR_HMM_NTOPOLOGY+1]
 
const char *const spr_hmm_str_datascale [SPR_HMM_NDATASCALE+1]
 
const char *const spr_hmm_str_denstype [SPR_HMM_NDENSTYPE+1]
 
const char *const spr_hmm_str_recogmode []
 
const SprHmmMvg spr_hmm_empty_mvg
 
const SprHmmMvgs spr_hmm_empty_mvgs
 
const SprHmmState spr_hmm_empty_state
 
const SprHmmStates spr_hmm_empty_states
 
const SprHmmHmm spr_hmm_empty_hmm
 
const SprAcmod spr_empty_acmod
 
const SprCmdOptDesc spr_am_flags_od []
 

Detailed Description

Definition of HMM constants.

Global definitions for the HMM package:
- Constants for
  - setting defaults values
- Arrays with keywords (structure 'char *str_xxx[NR_STRINGS]')
  - str_topology (names of the different transition schemes)
  - str_denstype (names of the different types of HMMs)
- Enumerations
  - for those keyword arrays
  - for train/test styles and arcs
- Typedef's for structures:
    Mvg, rmg_info, Mvgs, State, States, Seg, Segs, Hmm
  and their corresponding empty structures:
    empty_mvg, empty_mvgs, empty_state, empty_states, empty_hmm
Author
Dirk Van Compernolle
Date
13/09/1991 - DVC
Creation.
xx/08/1995 - JD
Changed/added definitions for new hmm structures.
xx/02/1996 - JD
Removed constants for limiting arrays/dimensions.
xx/07/1997 - JD
Rewritten for extended hmm structures.
xx/02/1999 - KD
Fast_mvg-structures added.
xx/03/1999 - KD
FRoG-structure modified (extra stats + axis ordening)