#include <cmath>#include <math.h>#include "mfstream.h"#include "mempool.h"#include "htable.h"#include "dictionary.h"#include "n_gram.h"#include "ngramtable.h"#include "interplm.h"#include "normcache.h"#include "mdiadapt.h"#include "shiftlm.h"#include "linearlm.h"#include "mixture.h"#include "cmd.h"Go to the source code of this file.
Defines | |
| #define | YES 1 |
| #define | NO 0 |
| #define | NGRAM 1 |
| #define | SEQUENCE 2 |
| #define | ADAPT 3 |
| #define | TURN 4 |
| #define | TEXT 5 |
| #define | END_ENUM { (char*)0, 0 } |
Functions | |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 91 of file tlm.cpp.
References ADAPT, mdiadaptlm::adapt(), CMDDOUBLETYPE, CMDENUMTYPE, CMDINTTYPE, CMDSTRINGTYPE, CMDSUBRANGETYPE, mdiadaptlm::compute_backoff(), DeclareParams(), ngramtable::dict, interplm::dub(), dictionary::genoovcode(), GetParams(), dictionary::incflag(), ngram::isym, LINEAR_GT, LINEAR_WB, interplm::lmstat(), MAX_NGRAM, ngramtable::maxlevel(), MIXTURE, MOD_SHIFT_BETA, MSHIFTBETA_B, MSHIFTBETA_I, mdiadaptlm::netsize(), NGRAM, NO, NULL, dictionary::oovcode(), mdiadaptlm::prob(), interplm::prunesingletons(), interplm::prunetopsingletons(), mdiadaptlm::saveARPA(), mdiadaptlm::saveASR(), SEQUENCE, dictionary::setoovrate(), SHIFT_BETA, SHIFT_ONE, SHIFTBETA_B, SHIFTBETA_I, SIMPLE_B, SIMPLE_I, ngram::size, interplm::test(), TEXT, interplm::train(), TURN, ngram::wordp(), and YES.

1.5.9