#include <ngramcache.h>
Public Member Functions | |
PROB_AND_STATE_ENTRY (double lp=0.0, char *st=NULL, unsigned int stsz=0, double bw=0.0, int bl=0, bool ex=false) | |
Public Attributes | |
double | logpr |
probability value of an ngram | |
char * | state |
the largest suffix of an n-gram contained in the LM table. | |
unsigned int | statesize |
LM statesize of an ngram. | |
double | bow |
backoff weight | |
int | bol |
backoff level | |
bool | extendible |
flag for extendibility of the ngram |
Definition at line 34 of file ngramcache.h.
PROB_AND_STATE_ENTRY::PROB_AND_STATE_ENTRY | ( | double | lp = 0.0 , |
|
char * | st = NULL , |
|||
unsigned int | stsz = 0 , |
|||
double | bw = 0.0 , |
|||
int | bl = 0 , |
|||
bool | ex = false | |||
) | [inline] |
Definition at line 41 of file ngramcache.h.
backoff level
Definition at line 39 of file ngramcache.h.
Referenced by lmtable::clprob(), and print().
double PROB_AND_STATE_ENTRY::bow |
backoff weight
Definition at line 38 of file ngramcache.h.
Referenced by lmtable::clprob(), and print().
flag for extendibility of the ngram
Definition at line 40 of file ngramcache.h.
Referenced by lmtable::clprob().
double PROB_AND_STATE_ENTRY::logpr |
probability value of an ngram
Definition at line 35 of file ngramcache.h.
Referenced by lmtable::clprob(), and print().
the largest suffix of an n-gram contained in the LM table.
Definition at line 36 of file ngramcache.h.
Referenced by lmtable::clprob(), lmtable::cmaxsuffptr(), and print().
unsigned int PROB_AND_STATE_ENTRY::statesize |
LM statesize of an ngram.
Definition at line 37 of file ngramcache.h.
Referenced by lmtable::clprob(), lmtable::cmaxsuffptr(), and print().