Classes | Typedefs | Functions
whmm.h File Reference

Word hmm instance that is used by sphinx 3.0 decode_anytopo search. More...

#include "prim_type.h"
#include "s3types.h"
#include "tmat.h"
#include "dict.h"
#include "mdef.h"
#include "hmm.h"

Go to the source code of this file.

Classes

struct  whmm_s
 

Typedefs

typedef struct whmm_s whmm_t
 

Functions

void whmm_free (whmm_t *h)
 
whmm_twhmm_alloc (hmm_context_t *ctx, int32 pos, int mpx, s3ssid_t ssid, s3tmatid_t tmatid)
 
void dump_whmm (s3wid_t w, whmm_t *h, int32 *senscr, tmat_t *tmat, int32 n_frame, dict_t *dict, mdef_t *mdef)
 

Detailed Description

Word hmm instance that is used by sphinx 3.0 decode_anytopo search.

Typedef Documentation

◆ whmm_t

typedef struct whmm_s whmm_t

Function Documentation

◆ dump_whmm()

void dump_whmm ( s3wid_t  w,
whmm_t h,
int32 *  senscr,
tmat_t tmat,
int32  n_frame,
dict_t dict,
mdef_t mdef 
)

Dump one hmm

Parameters
wa word id
ha hmm
senscrSenone score
tmatTransition matrix
n_frameThe frame number
dictThe dictionary
mdefA model definition

◆ whmm_alloc()

whmm_t* whmm_alloc ( hmm_context_t ctx,
int32  pos,
int  mpx,
s3ssid_t  ssid,
s3tmatid_t  tmatid 
)

Allocate a whmm (mostly a wrapper around hmm_init())

◆ whmm_free()

void whmm_free ( whmm_t h)

Free a whmm

Parameters
ha whmm