Go to the source code of this file.
Classes | |
| class | tabletype |
| class | ngramtable |
Defines | |
| #define | BACKOFF_ "_backoff_" |
| #define | DUMMY_ "_dummy_" |
| #define | DEFCODESIZE (int)2 |
| #define | SHORTSIZE (int)2 |
| #define | PTRSIZE (int)sizeof(char *) |
| #define | INTSIZE (int)4 |
| #define | CHARSIZE (int)1 |
| #define | FREQ1 (unsigned char) 1 |
| #define | FREQ2 (unsigned char) 2 |
| #define | FREQ4 (unsigned char) 4 |
| #define | INODE (unsigned char) 8 |
| #define | LNODE (unsigned char) 16 |
| #define | SNODE (unsigned char) 32 |
| #define | FREQ6 (unsigned char) 64 |
| #define | FREQ3 (unsigned char) 128 |
Typedefs | |
| typedef char * | node |
| typedef char * | table |
| typedef unsigned char | NODETYPE |
Enumerations | |
| enum | ACTION { FIND, ENTER, DELETE, INIT, CONT } |
| enum | TABLETYPE { COUNT, LEAFPROB, FLEAFPROB, LEAFPROB2, LEAFPROB3, LEAFPROB4, LEAFCODE, SIMPLE_I, SIMPLE_B, SHIFTBETA_I, SHIFTBETA_B, MSHIFTBETA_I, MSHIFTBETA_B, FULL } |
| #define BACKOFF_ "_backoff_" |
Definition at line 28 of file ngramtable.h.
Referenced by ngramtable::ngramtable(), and mdiadaptlm::saveMT().
| #define CHARSIZE (int)1 |
Definition at line 47 of file ngramtable.h.
| #define DEFCODESIZE (int)2 |
Definition at line 41 of file ngramtable.h.
| #define DUMMY_ "_dummy_" |
Definition at line 33 of file ngramtable.h.
Referenced by ngramtable::ngramtable(), and mdiadaptlm::saveMT().
| #define FREQ1 (unsigned char) 1 |
Definition at line 51 of file ngramtable.h.
Referenced by ngramtable::freq(), ngramtable::getfreq(), ngramtable::grow(), ngramtable::loadbin(), ngramtable::mtablesz(), ngramtable::put(), ngramtable::savebin(), ngramtable::setfreq(), and tabletype::tabletype().
| #define FREQ2 (unsigned char) 2 |
Definition at line 52 of file ngramtable.h.
Referenced by ngramtable::freq(), ngramtable::getfreq(), ngramtable::grow(), ngramtable::loadbin(), ngramtable::mtablesz(), ngramtable::put(), ngramtable::savebin(), and ngramtable::setfreq().
| #define FREQ3 (unsigned char) 128 |
Definition at line 58 of file ngramtable.h.
Referenced by ngramtable::freq(), ngramtable::getfreq(), ngramtable::grow(), ngramtable::loadbin(), ngramtable::mtablesz(), ngramtable::put(), ngramtable::savebin(), and ngramtable::setfreq().
| #define FREQ4 (unsigned char) 4 |
Definition at line 53 of file ngramtable.h.
Referenced by ngramtable::freq(), ngramtable::getfreq(), ngramtable::grow(), ngramtable::mtablesz(), ngramtable::ngramtable(), ngramtable::put(), ngramtable::resetngramtable(), and ngramtable::setfreq().
| #define FREQ6 (unsigned char) 64 |
Definition at line 57 of file ngramtable.h.
Referenced by ngramtable::ngramtable(), and ngramtable::put().
| #define INODE (unsigned char) 8 |
Definition at line 54 of file ngramtable.h.
Referenced by ngramtable::freetree(), ngramtable::grow(), ngramtable::loadbin(), ngramtable::mtablesz(), ngramtable::ngramtable(), ngramtable::put(), ngramtable::resetngramtable(), ngramtable::savebin(), ngramtable::scan(), and ngramtable::totfreq().
| #define INTSIZE (int)4 |
Definition at line 46 of file ngramtable.h.
| #define LNODE (unsigned char) 16 |
Definition at line 55 of file ngramtable.h.
Referenced by ngramtable::freq(), ngramtable::get(), ngramtable::getfreq(), ngramtable::grow(), ngramtable::loadbin(), ngramtable::mtablesz(), ngramtable::ngramtable(), ngramtable::put(), ngramtable::resetngramtable(), ngramtable::savebin(), ngramtable::scan(), and ngramtable::setfreq().
| #define PTRSIZE (int)sizeof(char *) |
Definition at line 45 of file ngramtable.h.
| #define SHORTSIZE (int)2 |
Definition at line 44 of file ngramtable.h.
| #define SNODE (unsigned char) 32 |
Definition at line 56 of file ngramtable.h.
| typedef char* node |
Definition at line 60 of file ngramtable.h.
| typedef unsigned char NODETYPE |
Definition at line 63 of file ngramtable.h.
| typedef char* table |
Definition at line 61 of file ngramtable.h.
| enum ACTION |
| enum TABLETYPE |
| COUNT | table: only counters |
| LEAFPROB | table: only probs on leafs |
| FLEAFPROB | table: only probs on leafs and FROZEN |
| LEAFPROB2 | table: only probs on leafs |
| LEAFPROB3 | table: only probs on leafs |
| LEAFPROB4 | table: only probs on leafs |
| LEAFCODE | table: only codes on leafs |
| SIMPLE_I | table: simple interpolated LM |
| SIMPLE_B | table: simple backoff LM |
| SHIFTBETA_I | table: interpolated shiftbeta |
| SHIFTBETA_B | table: backoff shiftbeta |
| MSHIFTBETA_I | table: interp modified shiftbeta |
| MSHIFTBETA_B | table: backoff modified shiftbeta |
| FULL | table: full fledged table |
Definition at line 74 of file ngramtable.h.
1.5.9