PROB_AND_STATE_ENTRY Struct Reference

#include <ngramcache.h>

List of all members.

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


Detailed Description

Definition at line 34 of file ngramcache.h.


Constructor & Destructor Documentation

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.


Member Data Documentation

backoff level

Definition at line 39 of file ngramcache.h.

Referenced by lmtable::clprob(), and print().

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().

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().

LM statesize of an ngram.

Definition at line 37 of file ngramcache.h.

Referenced by lmtable::clprob(), lmtable::cmaxsuffptr(), and print().


The documentation for this struct was generated from the following file:

Generated on Thu Jul 6 00:31:56 2017 for Moses by  doxygen 1.5.9