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_t * | whmm_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) |
Word hmm instance that is used by sphinx 3.0 decode_anytopo search.
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
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 |
Referenced by dump_all_whmm().
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())
Referenced by whmm_transition(), and word_enter().
void whmm_free | ( | whmm_t * | h | ) |