Classes | Macros | Typedefs | Functions
fsg_history.h File Reference
#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_tfsg_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_tfsg_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)
 

Macro Definition Documentation

◆ fsg_hist_entry_frame

#define fsg_hist_entry_frame (   v)    ((v)->frame)

◆ fsg_hist_entry_fsglink

#define fsg_hist_entry_fsglink (   v)    ((v)->fsglink)

◆ fsg_hist_entry_lc

#define fsg_hist_entry_lc (   v)    ((v)->lc)

◆ fsg_hist_entry_pred

#define fsg_hist_entry_pred (   v)    ((v)->pred)

◆ fsg_hist_entry_rc

#define fsg_hist_entry_rc (   v)    ((v)->rc)

◆ fsg_hist_entry_score

#define fsg_hist_entry_score (   v)    ((v)->score)

Typedef Documentation

◆ fsg_hist_entry_t

◆ fsg_history_t

typedef struct fsg_history_s fsg_history_t

Function Documentation

◆ fsg_history_backtrace()

glist_t fsg_history_backtrace ( fsg_history_t )

◆ fsg_history_dump()

void fsg_history_dump ( fsg_history_t vh,
char const *  uttid,
FILE *  fp,
dict_t dict 
)

◆ fsg_history_end_frame()

void fsg_history_end_frame ( fsg_history_t )

◆ fsg_history_entry_add()

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

fsg_hist_entry_t* fsg_history_entry_get ( fsg_history_t ,
int32  id 
)

◆ fsg_history_entry_hyp_extract()

int32 fsg_history_entry_hyp_extract ( fsg_history_t h,
int32  index,
srch_hyp_t hyp,
dict_t dict 
)

◆ fsg_history_free()

void fsg_history_free ( fsg_history_t )

◆ fsg_history_init()

fsg_history_t* fsg_history_init ( word_fsg_t fsg,
int32  n_ciphone 
)

◆ fsg_history_n_entries()

int32 fsg_history_n_entries ( fsg_history_t h)

◆ fsg_history_reset()

void fsg_history_reset ( fsg_history_t )

◆ fsg_history_set_fsg()

void fsg_history_set_fsg ( fsg_history_t ,
word_fsg_t  
)

◆ fsg_history_utt_end()

void fsg_history_utt_end ( fsg_history_t )

◆ fsg_history_utt_start()

void fsg_history_utt_start ( fsg_history_t )