42 #ifndef __NGRAM_SEARCH_H__
43 #define __NGRAM_SEARCH_H__
46 #include <sphinxbase/cmd_ln.h>
47 #include <sphinxbase/logmath.h>
48 #include <sphinxbase/ngram_model.h>
49 #include <sphinxbase/listelem_alloc.h>
50 #include <sphinxbase/err.h>
157 #define CAND_SF_ALLOCSIZE 32
182 int32 n_root_chan_eval;
183 int32 n_nonroot_chan_eval;
184 int32 n_last_chan_eval;
185 int32 n_word_lastchan_eval;
186 int32 n_lastphn_cand_utt;
187 int32 n_fwdflat_chan;
188 int32 n_fwdflat_words;
189 int32 n_fwdflat_word_transition;
190 int32 n_senone_active_utt;
294 int32 n_lastphn_cand;
305 int32 bscore_stack_size;
318 bitvec_t *expand_word_flag;
319 int32 *expand_word_list;
320 int32 n_expand_words;
323 float32 fwdflat_fwdtree_lw_ratio;
332 float32 bestpath_fwdtree_lw_ratio;
338 ptmr_t bestpath_perf;
384 int32 score, int32 path, int32 rc);