#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <stdlib.h>
#include "cmd.h"
#include "util.h"
#include "math.h"
#include "lmContainer.h"
Go to the source code of this file.
Functions | |
void | print_help (int TypeFlag=0) |
void | usage (const char *msg=0) |
int | main (int argc, char **argv) |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 60 of file compile-lm.cpp.
References _IRSTLM_LMINTERPOLATION, BINARY, lmContainer::check_caches_levels(), lmContainer::clprob(), CMDBOOLTYPE, CMDFLOATTYPE, CMDINTTYPE, CMDMSG, CMDSTRINGTYPE, lmContainer::CreateLanguageModel(), debug, DeclareParams(), dictionary::decode(), lmContainer::dictionary_incflag(), dictionary::encode(), dictionary::freq(), lmContainer::getDict(), lmContainer::getLanguageModelType(), lmContainer::getlogOOVpenalty(), GetParams(), lmContainer::init_caches(), invert(), lmContainer::is_inverted(), lmContainer::is_OOV(), lmContainer::load(), m, lmContainer::maxlevel(), n, NONE, NULL, dictionary::oovcode(), Moses::PrintUserTime(), util::rand(), Moses::ResetUserTime(), lmContainer::savebin(), lmContainer::savetxt(), lmContainer::setlogOOVpenalty(), lmContainer::setMaxLoadedLevel(), dictionary::size(), lmContainer::stat(), TEXT, dictionary::totfreq(), usage(), and lmContainer::used_caches().
void print_help | ( | int | TypeFlag = 0 |
) |
Definition at line 36 of file compile-lm.cpp.
References FullPrintParams().
Referenced by usage().
void usage | ( | const char * | msg = 0 |
) |
Definition at line 49 of file compile-lm.cpp.
References print_help().