tabletype Class Reference

#include <ngramtable.h>

Inheritance diagram for tabletype:

Inheritance graph
[legend]

List of all members.

Public Member Functions

TABLETYPE tbtype ()
 tabletype (TABLETYPE tt, int codesize=DEFCODESIZE)
int inodesize (int s)
int lnodesize (int s)

Public Attributes

int CODESIZE
long long code_range [7]
int WORD_OFFS
int MSUCC_OFFS
int MTAB_OFFS
int FLAGS_OFFS
int SUCC1_OFFS
int SUCC2_OFFS
int BOFF_OFFS
int I_FREQ_OFFS
int I_FREQ_NUM
int L_FREQ_NUM
int L_FREQ_SIZE
int L_FREQ_OFFS


Detailed Description

Definition at line 93 of file ngramtable.h.


Constructor & Destructor Documentation

tabletype::tabletype ( TABLETYPE  tt,
int  codesize = DEFCODESIZE 
) [inline]


Member Function Documentation

int tabletype::inodesize ( int  s  )  [inline]

Definition at line 288 of file ngramtable.h.

References I_FREQ_NUM, and I_FREQ_OFFS.

Referenced by ngramtable::grow(), ngramtable::mtablesz(), ngramtable::ngramtable(), and ngramtable::resetngramtable().

Here is the caller graph for this function:

int tabletype::lnodesize ( int  s  )  [inline]

Definition at line 294 of file ngramtable.h.

References L_FREQ_NUM, and L_FREQ_OFFS.

Referenced by ngramtable::grow(), and ngramtable::mtablesz().

Here is the caller graph for this function:

TABLETYPE tabletype::tbtype (  )  [inline]

Definition at line 119 of file ngramtable.h.

Referenced by ngramtable::loadbin(), ngramtable::ngramtable(), ngramtable::prob(), and ngramtable::savebin().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 110 of file ngramtable.h.

Referenced by ngramtable::boff(), and tabletype().

long long tabletype::code_range[7]

Definition at line 101 of file ngramtable.h.

Referenced by ngramtable::check_dictsize_bound(), and tabletype().

Definition at line 107 of file ngramtable.h.

Referenced by ngramtable::loadbin(), ngramtable::mtflags(), and tabletype().

Definition at line 114 of file ngramtable.h.

Referenced by ngramtable::put(), and tabletype().

Definition at line 106 of file ngramtable.h.

Referenced by ngramtable::mtable(), and tabletype().

Definition at line 108 of file ngramtable.h.

Referenced by ngramtable::succ1(), and tabletype().

Definition at line 109 of file ngramtable.h.

Referenced by ngramtable::succ2(), and tabletype().


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

Generated on Thu Jul 6 00:32:02 2017 for Moses by  doxygen 1.5.9