#include <graph.h>
__word_graph__のコラボレーション図
変数 | |
WORD_ID | wid |
Word ID | |
int | lefttime |
Head frame where this word begins | |
int | righttime |
Tail frame where this word ends | |
LOGPROB | fscore_head |
Partial sentence score 'f' when the next (left) word of this word was expanded at 2nd pass. f = g(thisword) + h(nextword) | |
LOGPROB | fscore_tail |
Partial sentence score when this word was expanded in 2nd pass. f = g(rightword) + h(thisword) | |
LOGPROB | gscore_head |
Accumulated viterbi score at the head state of this word on lefttime. This value includes both accumulated AM score and LM score of this word. | |
LOGPROB | gscore_tail |
Accumultaed viterbi score at the head state of previous (right) word. | |
LOGPROB | lscore_tmp |
Temporally holds LM score | |
LOGPROB | forward_score |
Forward score at right edge, incl. LM, obtained by forward-backward process | |
LOGPROB | backward_score |
Backward score at left edge, incl. LM, obtained by forward-backward process | |
LOGPROB | amavg |
average acoustic score of matched frame | |
HMM_Logical * | headphone |
Applied phone HMM at the head of the word | |
HMM_Logical * | tailphone |
Applied phone HMM at the end of the word | |
__word_graph__ ** | leftword |
List of left context | |
LOGPROB * | left_lscore |
List of LM score for left contexts | |
int | leftwordnum |
Stored num of leftword | |
int | leftwordmaxnum |
Allocated size of leftword | |
__word_graph__ ** | rightword |
List of right context | |
LOGPROB * | right_lscore |
List of LM score for right contexts | |
int | rightwordnum |
Stored num of leftword | |
int | rightwordmaxnum |
Allocated size of letfword | |
__word_graph__ * | next |
Pointer to next wordgraph for throughout access | |
boolean | mark |
Delete mark for compaction operation | |
int | id |
Unique ID within the graph | |
boolean | saved |
Save mark for graph generation | |
boolean | purged |
Purged mark for graph generation | |
LOGPROB | graph_cm |
Confidense score computed from the graph |