40 #ifndef __ALLPHONE_SEARCH_H__
41 #define __ALLPHONE_SEARCH_H__
45 #include <sphinxbase/glist.h>
46 #include <sphinxbase/cmd_ln.h>
47 #include <sphinxbase/ngram_model.h>
48 #include <sphinxbase/bitvec.h>
52 #include "blkarray_list.h"
141 ps_search_t *allphone_search_init(
const char *name,
167 int allphone_search_step(
ps_search_t * search,
int frame_idx);
177 char const *allphone_search_hyp(
ps_search_t * search, int32 * out_score);
Internal implementation of PocketSphinx decoder.
History (paths) information at any point in allphone Viterbi search.
struct phmm_s * next
Next unique PHMM for same parent basephone.
Base structure for search module.
ptmr_t perf
Performance counter.
s3cipid_t ci
Parent basephone for this PHMM.
int32 n_sen_eval
Total senones evaluated this utt.
An individual HMM among the HMM search space.
s3pid_t pid
Phone id (temp.
int32 hist
Previous history entry.
bitvec_t * lc
Set (bit-vector) of left context phones seen for this PHMM.
int32 score
Path score for this path.
Implementation of HMM base structure.
int32 * ci2lmwid
Mapping of CI phones to LM word IDs.
int32 inspen
Language weights.
bitvec_t * rc
Set (bit-vector) of right context phones seen for this PHMM.
Implementation of allphone search structure.
int16 s3cipid_t
Size definitions for more semantially meaningful units.
int32 tscore
Transition score for this path.
Shared information between a set of HMMs.
hmm_context_t * hmmctx
HMM context.
Segment iterator over list of phseg.
struct plink_s * next
Next link for parent PHMM node.
a structure for a dictionary.
float32 ascale
Acoustic score scale for posterior probabilities.
int32 n_tot_frame
Total number of frames processed.
ngram_model_t * lm
Ngram model set.
hmm_t hmm
Base HMM structure.
int32 ci_only
Use context-independent phones for decoding.
int32 n_hmm_eval
Total HMMs evaluated this utt.
struct plink_s * succlist
List of predecessor PHMM nodes.
int32 frame_idx_t
Type for frame index values.
Models a single unique <senone-sequence, tmat> pair.
phmm_t * phmm
PHMM ending this path.
phmm_t * phmm
Successor PHMM node.
int32 pbeam
Effective beams after applying beam_factor.
blkarray_list_t * history
List of history nodes allocated in each frame.
Base structure for hypothesis segmentation iterator.
phmm_t ** ci_phmm
PHMM lists (for each CI phone)
Acoustic model structure.
Phone level segmentation information.
Building composite triphone (as well as word internal triphones) with the dictionary.
List of links from a PHMM node to its successors; one link per successor.
frame_idx_t frame
Current frame.