92 #ifndef __S2_FSG_HISTORY_H__
93 #define __S2_FSG_HISTORY_H__
136 #define fsg_hist_entry_fsglink(v) ((v)->fsglink)
137 #define fsg_hist_entry_frame(v) ((v)->frame)
138 #define fsg_hist_entry_score(v) ((v)->score)
139 #define fsg_hist_entry_pred(v) ((v)->pred)
140 #define fsg_hist_entry_lc(v) ((v)->lc)
141 #define fsg_hist_entry_rc(v) ((v)->rc)
void fsg_history_end_frame(fsg_history_t *)
void fsg_history_utt_start(fsg_history_t *)
Definition: fsg_psubtree.h:138
fsg_pnode_ctxt_t rc
Definition: fsg_history.h:131
glist_t ** frame_entries
Definition: fsg_history.h:175
Definition: fsg_history.h:123
The temporary header file for sphinx 3 functions.
void fsg_history_utt_end(fsg_history_t *)
Definition: blkarray_list.h:90
int32 n_ciphone
Definition: fsg_history.h:178
Definition: word_fsg.h:187
void fsg_history_entry_add(fsg_history_t *, word_fsglink_t *, int32 frame, int32 score, int32 pred, int32 lc, fsg_pnode_ctxt_t rc)
Operations on dictionary.
blkarray_list_t * entries
Definition: fsg_history.h:173
struct fsg_hist_entry_s fsg_hist_entry_t
word_fsglink_t * fsglink
Definition: fsg_history.h:124
word_fsg_t * fsg
Definition: fsg_history.h:172
int32 fsg_history_entry_hyp_extract(fsg_history_t *h, int32 index, srch_hyp_t *hyp, dict_t *dict)
int32 frame
Definition: fsg_history.h:125
void fsg_history_dump(fsg_history_t *vh, char const *uttid, FILE *fp, dict_t *dict)
Size definition of semantically units. Common for both s3 and s3.X decoder.
Definition: fsg_history.h:171
a structure for a dictionary.
Definition: dict.h:146
int32 score
Definition: fsg_history.h:126
glist_t fsg_history_backtrace(fsg_history_t *)
int32 pred
Definition: fsg_history.h:128
void fsg_history_set_fsg(fsg_history_t *, word_fsg_t *)
Definition: word_fsg.h:165
int32 fsg_history_n_entries(fsg_history_t *h)
fsg_hist_entry_t * fsg_history_entry_get(fsg_history_t *, int32 id)
fsg_history_t * fsg_history_init(word_fsg_t *fsg, int32 n_ciphone)
struct fsg_history_s fsg_history_t
void fsg_history_free(fsg_history_t *)
void fsg_history_reset(fsg_history_t *)
int32 lc
Definition: fsg_history.h:129