40 #ifndef __S2_FSG_SEARCH_H__
41 #define __S2_FSG_SEARCH_H__
45 #include <sphinxbase/glist.h>
46 #include <sphinxbase/cmd_ln.h>
47 #include <sphinxbase/fsg_model.h>
52 #include "fsg_history.h"
53 #include "fsg_lextree.h"
110 #define fsg_search_frame(s) ((s)->frame)
141 int fsg_search_step(
ps_search_t *search,
int frame_idx);
151 char const *fsg_search_hyp(
ps_search_t *search, int32 *out_score);
glist_t pnode_active_next
Those activated for the next frame.
Implementation of FSG search (and "FSG set") structure.
Internal implementation of PocketSphinx decoder.
Base structure for search module.
int16 cur
Current position in hist.
fsg_model_t * fsg
FSG model.
int32 wbeam_orig
Pruning threshold for word exit.
Segmentation "iterator" for FSG history.
ps_seg_t base
Base structure.
float32 beam_factor
Dynamic/adaptive factor (<=1) applied to above beams to determine actual effective beams...
struct fsg_history_s * history
For storing the Viterbi search history.
int32 wbeam
Effective beams after applying beam_factor.
int32 lscr
Total acoustic and lm score for utt.
float32 ascale
Acoustic score scale for posterior probabilities.
int32 n_hmm_eval
Total HMMs evaluated this utt.
int32 wip
Language weights.
Implementation of HMM base structure.
hmm_context_t * hmmctx
HMM context.
fsg_hist_entry_t ** hist
Sequence of history entries.
int32 beam_orig
Global pruning threshold.
Shared information between a set of HMMs.
Collection of lextrees for an FSG.
int32 pbeam_orig
Pruning threshold for phone transition.
a structure for a dictionary.
int32 bestscore
For beam pruning.
int32 bpidx_start
First history entry index this frame.
int32 frame_idx_t
Type for frame index values.
uint8 bestpath
Whether to run bestpath search and confidence annotation at end.
int32 n_sen_eval
Total senones evaluated this utt.
glist_t pnode_active
Those active in this frame.
int16 n_hist
Number of history entries.
frame_idx_t frame
Current frame.
Base structure for hypothesis segmentation iterator.
struct fsg_lextree_s * lextree
Lextree structure for the currently active FSG.
Acoustic model structure.
Building composite triphone (as well as word internal triphones) with the dictionary.
ptmr_t perf
Performance counter.