62 #ifndef _WORD_GRAPH_H_
63 #define _WORD_GRAPH_H_
90 #define INVALID_START_FRAME -1
91 #define INVALID_START_INDEX -1
93 #define OUTLATFMT_SPHINX3 0
94 #define OUTLATFMT_IBM 1
95 #define dag_node_mark(d) d->reachable
int32 srcidx
Definition: word_graph.h:103
word_graph_t * dag_to_wordgraph(dag_t *dag, int32 *senscale, lm_t *lm, dict_t *dict)
Definition: word_graph.h:129
int32 time
Definition: word_graph.h:119
Operations on dictionary.
int32 wid
Definition: word_graph.h:105
int32 linkidx
Definition: word_graph.h:109
Definition: word_graph.h:118
void wordgraph_free(word_graph_t *wg)
void word_graph_dump(char *dir, char *uttfile, char *id, char *latfile_ext, dag_t *dag, dict_t *dict, lm_t *lm, int32 *senscale)
Size definition of semantically units. Common for both s3 and s3.X decoder.
float64 lscr
Definition: word_graph.h:107
a structure for a dictionary.
Definition: dict.h:146
Definition: word_graph.h:102
int32 nodeidx
Definition: word_graph.h:120
float64 ascr
Definition: word_graph.h:106
void print_wg(FILE *fp, word_graph_t *wg, dict_t *dict, int32 fmt)
float64 cscr
Definition: word_graph.h:108
int32 n_link
Definition: word_graph.h:132
data structure for dag. Adapted from s3_dag.h in s3.5
The language model. All unigrams are read into memory on initialization. Bigrams and trigrams read in...
glist_t link
Definition: word_graph.h:130
glist_t child_node_list
Definition: word_graph.h:121
glist_t node
Definition: word_graph.h:131
int32 tgtidx
Definition: word_graph.h:104
int32 n_node
Definition: word_graph.h:133