srch_debug.h File Reference
implementation of search debug mode.
More...
#include <glist.h>
#include "s3types.h"
#include "dag.h"
#include "lm.h"
#include "kb.h"
Go to the source code of this file.
Functions |
int | srch_debug_init (kb_t *kb, void *srch) |
int | srch_debug_uninit (void *srch) |
int | srch_debug_begin (void *srch) |
int | srch_debug_end (void *srch) |
int | srch_debug_decode (void) |
int | srch_debug_set_lm (void *srch, const char *lmname) |
int | srch_debug_add_lm (void *srch, lm_t *lm, const char *lmname) |
int | srch_debug_delete_lm (void *srch, const char *lmname) |
int | srch_debug_gmm_compute_lv1 (void *srch, float32 *feat, int32 cache_idx, int32 wav_idx) |
int | srch_debug_gmm_compute_lv2 (void *srch, float32 **feat, int32 wav_idx) |
int | srch_debug_hmm_compute_lv1 (void *srch) |
int | srch_debug_hmm_compute_lv2 (void *srch, int32 wav_idx) |
int | srch_debug_eval_beams_lv1 (void *srch) |
int | srch_debug_eval_beams_lv2 (void *srch) |
int | srch_debug_propagate_graph_ph_lv1 (void *srch) |
int | srch_debug_propagate_graph_wd_lv1 (void *srch) |
int | srch_debug_propagate_graph_ph_lv2 (void *srch, int32 wav_idx) |
int | srch_debug_propagate_graph_wd_lv2 (void *srch, int32 wav_idx) |
int | srch_debug_compute_heuristic (void *srch, int32 win_efv) |
int | srch_debug_frame_windup (void *srch_struct, int32 frmno) |
int | srch_debug_shift_one_cache_frame (void *srch, int32 win_efv) |
int | srch_debug_select_active_gmm (void *srch) |
int | srch_debug_rescoring (void *srch, int32 frmno) |
glist_t | srch_debug_gen_hyp (void *srch_struct) |
int | srch_debug_dump_vithist (void *srch_struct) |
dag_t * | srch_debug_gen_dag (void *srch_struct, glist_t hyp) |
glist_t | srch_debug_bestpath_impl (void *srch_struct, dag_t *dag) |
int32 | srch_debug_dag_dump (void *srch_struct, dag_t *dag) |
Variables |
struct srch_funcs_s | srch_debug_funcs |
Detailed Description
implementation of search debug mode.
ARCHAN 20050510: An empty search structure. Only used for debugging. Debug mode implementation is useful when programmers just want to test out a logic change in srch.c but do not want to waste the time in running actual decoding.
Function Documentation
int srch_debug_add_lm |
( |
void * |
srch, |
|
|
lm_t * |
lm, |
|
|
const char * |
lmname | |
|
) |
| | |
int srch_debug_begin |
( |
void * |
srch |
) |
|
glist_t srch_debug_bestpath_impl |
( |
void * |
srch_struct, |
|
|
dag_t * |
dag | |
|
) |
| | |
- Parameters:
-
| srch_struct | A void pointer to a search structure |
int srch_debug_compute_heuristic |
( |
void * |
srch, |
|
|
int32 |
win_efv | |
|
) |
| | |
int32 srch_debug_dag_dump |
( |
void * |
srch_struct, |
|
|
dag_t * |
dag | |
|
) |
| | |
int srch_debug_decode |
( |
void |
|
) |
|
int srch_debug_delete_lm |
( |
void * |
srch, |
|
|
const char * |
lmname | |
|
) |
| | |
int srch_debug_dump_vithist |
( |
void * |
srch_struct |
) |
|
- Parameters:
-
| srch_struct | A void pointer to a search structure |
int srch_debug_end |
( |
void * |
srch |
) |
|
int srch_debug_eval_beams_lv1 |
( |
void * |
srch |
) |
|
int srch_debug_eval_beams_lv2 |
( |
void * |
srch |
) |
|
int srch_debug_frame_windup |
( |
void * |
srch_struct, |
|
|
int32 |
frmno | |
|
) |
| | |
dag_t* srch_debug_gen_dag |
( |
void * |
srch_struct, |
|
|
glist_t |
hyp | |
|
) |
| | |
- Parameters:
-
| srch_struct | A void pointer to a search structure |
glist_t srch_debug_gen_hyp |
( |
void * |
srch_struct |
) |
|
- Parameters:
-
| srch_struct | A void pointer to a search structure |
int srch_debug_gmm_compute_lv1 |
( |
void * |
srch, |
|
|
float32 * |
feat, |
|
|
int32 |
cache_idx, |
|
|
int32 |
wav_idx | |
|
) |
| | |
int srch_debug_gmm_compute_lv2 |
( |
void * |
srch, |
|
|
float32 ** |
feat, |
|
|
int32 |
wav_idx | |
|
) |
| | |
int srch_debug_hmm_compute_lv1 |
( |
void * |
srch |
) |
|
int srch_debug_hmm_compute_lv2 |
( |
void * |
srch, |
|
|
int32 |
wav_idx | |
|
) |
| | |
int srch_debug_init |
( |
kb_t * |
kb, |
|
|
void * |
srch | |
|
) |
| | |
int srch_debug_propagate_graph_ph_lv1 |
( |
void * |
srch |
) |
|
int srch_debug_propagate_graph_ph_lv2 |
( |
void * |
srch, |
|
|
int32 |
wav_idx | |
|
) |
| | |
int srch_debug_propagate_graph_wd_lv1 |
( |
void * |
srch |
) |
|
int srch_debug_propagate_graph_wd_lv2 |
( |
void * |
srch, |
|
|
int32 |
wav_idx | |
|
) |
| | |
int srch_debug_rescoring |
( |
void * |
srch, |
|
|
int32 |
frmno | |
|
) |
| | |
int srch_debug_select_active_gmm |
( |
void * |
srch |
) |
|
int srch_debug_set_lm |
( |
void * |
srch, |
|
|
const char * |
lmname | |
|
) |
| | |
int srch_debug_shift_one_cache_frame |
( |
void * |
srch, |
|
|
int32 |
win_efv | |
|
) |
| | |
int srch_debug_uninit |
( |
void * |
srch |
) |
|
Variable Documentation