Main Page | Class List | Directories | File List | Class Members | File Members

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 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

typedef struct whmm_s whmm_t
 


Function Documentation

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:
w  a word id
h  a hmm
senscr  Senone score
tmat  Transition matrix
n_frame  The frame number
dict  The dictionary
mdef  A model definition

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())

void whmm_free whmm_t h  ) 
 

Free a whmm

Parameters:
h  a whmm


Generated on Sat Apr 11 00:02:30 2009 by  doxygen 1.3.9.1