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.
| lmlog_t ug_t::bowt |
| s3wid_t ug_t::dictwid |
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
| lmlog_t ug_t::prob |
Unigram probability
1.8.11