A unigram structure Please see. More...
#include <lm.h>
Public Attributes | |
s3wid_t | dictwid |
lmlog_t | prob |
lmlog_t | bowt |
int32 | firstbg |
A unigram structure Please see.
Dictionary word id, or BAD_S3WID if unknown. However, the LM module merely sets this field to BAD_S3WID. It is upto the application to fill in this field (HACK!!), so that this module can be independent of a dictionary.
int32 ug_t::firstbg |
1st bigram entry on disk
Unigram probability