#include <ngramtable.h>
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 |
Definition at line 93 of file ngramtable.h.
tabletype::tabletype | ( | TABLETYPE | tt, | |
int | codesize = DEFCODESIZE | |||
) | [inline] |
Definition at line 123 of file ngramtable.h.
References BOFF_OFFS, CHARSIZE, code_range, CODESIZE, COUNT, FLAGS_OFFS, FLEAFPROB, FREQ1, FULL, I_FREQ_NUM, I_FREQ_OFFS, INTSIZE, L_FREQ_NUM, L_FREQ_OFFS, L_FREQ_SIZE, LEAFPROB, LEAFPROB2, LEAFPROB3, LEAFPROB4, MSHIFTBETA_B, MSHIFTBETA_I, MSUCC_OFFS, MTAB_OFFS, PTRSIZE, SHIFTBETA_B, SHIFTBETA_I, SIMPLE_B, SIMPLE_I, SUCC1_OFFS, SUCC2_OFFS, and WORD_OFFS.
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().
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().
TABLETYPE tabletype::tbtype | ( | ) | [inline] |
Definition at line 119 of file ngramtable.h.
Referenced by ngramtable::loadbin(), ngramtable::ngramtable(), ngramtable::prob(), and ngramtable::savebin().
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 100 of file ngramtable.h.
Referenced by ngramtable::check_dictsize_bound(), ngramtable::codecmp(), ngramtable::loadbin(), ngramtable::msucc(), ngramtable::ng2tbcpy(), ngramtable::ngramtable(), ngramtable::ngtbcmp(), ngramtable::savebin(), ngramtable::search(), ngramtable::succ1(), ngramtable::succ2(), tabletype(), ngramtable::tb2ngcpy(), and ngramtable::word().
Definition at line 107 of file ngramtable.h.
Referenced by ngramtable::loadbin(), ngramtable::mtflags(), and tabletype().
Definition at line 112 of file ngramtable.h.
Referenced by ngramtable::get(), ngramtable::grow(), inodesize(), ngramtable::loadbin(), ngramtable::ngramtable(), ngramtable::put(), ngramtable::savebin(), ngramtable::scan(), and tabletype().
Definition at line 111 of file ngramtable.h.
Referenced by ngramtable::freq(), ngramtable::getfreq(), inodesize(), ngramtable::loadbin(), ngramtable::savebin(), ngramtable::setfreq(), and tabletype().
Definition at line 113 of file ngramtable.h.
Referenced by ngramtable::grow(), lnodesize(), ngramtable::loadbin(), ngramtable::savebin(), and tabletype().
Definition at line 117 of file ngramtable.h.
Referenced by ngramtable::freq(), ngramtable::getfreq(), lnodesize(), ngramtable::loadbin(), ngramtable::savebin(), ngramtable::setfreq(), and tabletype().
Definition at line 105 of file ngramtable.h.
Referenced by ngramtable::loadbin(), ngramtable::msucc(), ngramtable::savebin(), and tabletype().
Definition at line 104 of file ngramtable.h.
Referenced by ngramtable::loadbin(), ngramtable::savebin(), tabletype(), and ngramtable::word().