#include <wchmm.h>
変数 | |
int | lmtype |
LM type | |
int | lmvar |
LM variant | |
boolean | category_tree |
TRUE if category_tree is used | |
HTK_HMM_INFO * | hmminfo |
HMM definitions used to construct this lexicon | |
NGRAM_INFO * | ngram |
N-gram used to construct this lexicon | |
DFA_INFO * | dfa |
Grammar used to construct this lexicon | |
WORD_INFO * | winfo |
Word dictionary used to construct this lexicon | |
boolean | ccd_flag |
TRUE if handling context dependency | |
int | maxwcn |
Memory assigned maximum number of nodes | |
int | n |
Num of nodes in this lexicon | |
WCHMM_STATE * | state |
HMM state on tree lexicon [nodeID] | |
LOGPROB * | self_a |
Transition probability to self node | |
LOGPROB * | next_a |
Transition probabiltiy to next (now+1) node | |
A_CELL2 ** | ac |
Transition arc information other than self and next. | |
WORD_ID * | stend |
Word ID that ends at the state [nodeID] | |
int ** | offset |
Node ID of a phone [wordID][0..phonelen-1] | |
int * | wordend |
Node ID of word-end state [wordID] | |
int | startnum |
Number of root nodes | |
int * | startnode |
Root node index [0..startnum-1] -> node ID | |
int * | wordbegin |
Node ID of word-beginning state [wordID] for multipath mode | |
int | maxstartnum |
Allocated number of startnodes for multipath mode | |
WORD_ID * | start2wid |
Root node index [0..startnum-1] -> word ID for multipath mode | |
LOGPROB * | wordend_a |
Transition prob. outside word [wordID] for non-multipath mode | |
S_CELL ** | sclist |
List of successor list [scid] | |
int * | sclist2node |
Mapping successor list [scid] to node | |
int | scnum |
Number of factoring nodes that has successor list | |
BMALLOC_BASE * | malloc_root |
Pointer for block memory allocation | |
HMMWork * | hmmwrk |
Work area for HMM computation in wchmm | |
LM_PROB_CACHE | lmcache |
LM score cache for 1st pass | |
WCHMM_WORK | wrk |
Other work area for 1st pass transition computation | |
int | separated_word_count |
Number of words actually separated (linearlized) from the tree | |
LOGPROB(* | uni_prob_user )(WORD_INFO *, WORD_ID, LOGPROB) |
Pointer to function returning word occurence probability | |
LOGPROB(* | bi_prob_user )(WORD_INFO *, WORD_ID, WORD_ID, LOGPROB) |
Pointer to function returning a word probability given a word context (corresponds to bi-gram) |