#include <recog.h>
変数 | |
boolean | live |
TRUE is this instance is alive, or FALSE when temporary disabled. | |
short | active |
1 if this instance should be made alive in the next recognition, -1 if should become dead in the next recognition, or 0 to leave unchanged. | |
JCONF_SEARCH * | config |
search configuration data | |
PROCESS_AM * | am |
acoustic model instance to use | |
PROCESS_LM * | lm |
language model instance to use | |
int | lmtype |
Language model type: one of LM_UNDEF, LM_NGRAM, LM_DFA | |
int | lmvar |
Variation type of language model: one of LM_NGRAM, LM_DFA_GRAMMAR, LM_DFA_WORD | |
boolean | ccd_flag |
Whether handle phone context dependency (local copy from jconf) | |
WCHMM_INFO * | wchmm |
Word-conjunction HMM as tree lexicon | |
int | trellis_beam_width |
Actual beam width of 1st pass (will be set on startup) | |
BACKTRELLIS * | backtrellis |
Word trellis index generated at the 1st pass | |
FSBeam | pass1 |
Work area for the first pass | |
StackDecode | pass2 |
Work area for second pass | |
WORD_ID | pass1_wseq [MAXSEQNUM] |
Word sequence of best hypothesis on 1st pass | |
int | pass1_wnum |
Number of words in pass1_wseq | |
LOGPROB | pass1_score |
Score of pass1_wseq | |
WORD_ID | sp_break_last_word |
Last maximum word hypothesis on the begin point for short-pause segmentation | |
WORD_ID | sp_break_last_nword |
Last (not transparent) context word for LM for short-pause segmentation | |
boolean | sp_break_last_nword_allow_override |
Allow override of last context word from result of 2nd pass for short-pause segmentation | |
WORD_ID | sp_break_2_begin_word |
Search start word on 2nd pass for short-pause segmentation | |
WORD_ID | sp_break_2_end_word |
Search end word on 2nd pass for short-pause segmentation | |
int | peseqlen |
Input length in frames | |
int | graph_totalwordnum |
GraphOut: total number of words in the generated graph | |
Output | result |
Recognition results | |
boolean | graphout |
graphout: will be set from value from jconf->graph.enabled | |
boolean | have_interim |
TRUE if has something to output at CALLBACK_RESULT_PASS1_INTERIM. | |
void * | hook |
User-defined data hook. | |
struct __recogprocess__ * | next |
Pointer to next instance |
set of LM, AM and parameters
void* RecogProcess::hook |