#include <stdio.h>
#include <glist.h>
#include <s3types.h>
#include <blkarray_list.h>
#include <fsg_psubtree.h>
#include <word_fsg.h>
#include <search.h>
#include <dict.h>
Go to the source code of this file.
Classes | |
struct | fsg_hist_entry_s |
struct | fsg_history_s |
Macros | |
#define | fsg_hist_entry_fsglink(v) ((v)->fsglink) |
#define | fsg_hist_entry_frame(v) ((v)->frame) |
#define | fsg_hist_entry_score(v) ((v)->score) |
#define | fsg_hist_entry_pred(v) ((v)->pred) |
#define | fsg_hist_entry_lc(v) ((v)->lc) |
#define | fsg_hist_entry_rc(v) ((v)->rc) |
Typedefs | |
typedef struct fsg_hist_entry_s | fsg_hist_entry_t |
typedef struct fsg_history_s | fsg_history_t |
Functions | |
fsg_history_t * | fsg_history_init (word_fsg_t *fsg, int32 n_ciphone) |
void | fsg_history_free (fsg_history_t *) |
void | fsg_history_utt_start (fsg_history_t *) |
void | fsg_history_utt_end (fsg_history_t *) |
void | fsg_history_entry_add (fsg_history_t *, word_fsglink_t *, int32 frame, int32 score, int32 pred, int32 lc, fsg_pnode_ctxt_t rc) |
void | fsg_history_end_frame (fsg_history_t *) |
void | fsg_history_reset (fsg_history_t *) |
int32 | fsg_history_n_entries (fsg_history_t *h) |
glist_t | fsg_history_backtrace (fsg_history_t *) |
void | fsg_history_dump (fsg_history_t *vh, char const *uttid, FILE *fp, dict_t *dict) |
fsg_hist_entry_t * | fsg_history_entry_get (fsg_history_t *, int32 id) |
void | fsg_history_set_fsg (fsg_history_t *, word_fsg_t *) |
int32 | fsg_history_entry_hyp_extract (fsg_history_t *h, int32 index, srch_hyp_t *hyp, dict_t *dict) |
#define fsg_hist_entry_frame | ( | v | ) | ((v)->frame) |
#define fsg_hist_entry_fsglink | ( | v | ) | ((v)->fsglink) |
#define fsg_hist_entry_lc | ( | v | ) | ((v)->lc) |
#define fsg_hist_entry_pred | ( | v | ) | ((v)->pred) |
#define fsg_hist_entry_rc | ( | v | ) | ((v)->rc) |
#define fsg_hist_entry_score | ( | v | ) | ((v)->score) |
typedef struct fsg_hist_entry_s fsg_hist_entry_t |
typedef struct fsg_history_s fsg_history_t |
glist_t fsg_history_backtrace | ( | fsg_history_t * | ) |
void fsg_history_dump | ( | fsg_history_t * | vh, |
char const * | uttid, | ||
FILE * | fp, | ||
dict_t * | dict | ||
) |
void fsg_history_end_frame | ( | fsg_history_t * | ) |
void fsg_history_entry_add | ( | fsg_history_t * | , |
word_fsglink_t * | , | ||
int32 | frame, | ||
int32 | score, | ||
int32 | pred, | ||
int32 | lc, | ||
fsg_pnode_ctxt_t | rc | ||
) |
fsg_hist_entry_t* fsg_history_entry_get | ( | fsg_history_t * | , |
int32 | id | ||
) |
int32 fsg_history_entry_hyp_extract | ( | fsg_history_t * | h, |
int32 | index, | ||
srch_hyp_t * | hyp, | ||
dict_t * | dict | ||
) |
void fsg_history_free | ( | fsg_history_t * | ) |
fsg_history_t* fsg_history_init | ( | word_fsg_t * | fsg, |
int32 | n_ciphone | ||
) |
int32 fsg_history_n_entries | ( | fsg_history_t * | h | ) |
void fsg_history_reset | ( | fsg_history_t * | ) |
void fsg_history_set_fsg | ( | fsg_history_t * | , |
word_fsg_t * | |||
) |
void fsg_history_utt_end | ( | fsg_history_t * | ) |
void fsg_history_utt_start | ( | fsg_history_t * | ) |