LM state. More...
#include <vithist.h>
Data Fields | |
| struct { | |
| int32 lwid [2] | |
| LANGUAGE MODEL word IDs. | |
| } | lm3g |
LM state.
Depending on type of LM (word-ngram, class-ngram, FSG, etc.), the contents of LM state will vary. Accommodate them with a union. For now, only trigram LM in it. (Not completely thought out; some of this might have to change later.)
Definition at line 159 of file vithist.h.
| int32 vh_lmstate_u::lwid[2] |
LANGUAGE MODEL word IDs.
lwid[0] is the current word, lwid[1] is the previous word.
Definition at line 165 of file vithist.h.
Referenced by vh_lmstate_display(), vithist_dump(), vithist_partialutt_end(), vithist_rescore(), vithist_utt_begin(), and vithist_utt_end().
1.6.1