/disk4/html/www/moses/doxygen/irstlm/trunk/src/interpolate-lm.cpp File Reference

#include <iostream>
#include <fstream>
#include <sstream>
#include <stdexcept>
#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 error (const char *message)
lmContainerload_lm (std::string file, int requiredMaxlev, int dub, int memmap, float nlf, float dlf)
void print_help (int TypeFlag=0)
void usage (const char *msg=0)
int main (int argc, char **argv)


Function Documentation

void error ( const char *  message  )  [inline]

Definition at line 37 of file interpolate-lm.cpp.

Referenced by lmtable::get(), lmmacro::load(), lmInterpolation::load(), lmclass::load(), main(), xpath_parser::parse(), and lmtable::search().

Here is the caller graph for this function:

lmContainer * load_lm ( std::string  file,
int  requiredMaxlev,
int  dub,
int  memmap,
float  nlf,
float  dlf 
)

Definition at line 549 of file interpolate-lm.cpp.

References lmContainer::CreateLanguageModel(), lmContainer::init_caches(), lmContainer::load(), lmContainer::maxlevel(), NULL, lmContainer::setlogOOVpenalty(), and lmContainer::setMaxLoadedLevel().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

void print_help ( int  TypeFlag = 0  ) 

Definition at line 45 of file interpolate-lm.cpp.

References FullPrintParams().

Here is the call graph for this function:

void usage ( const char *  msg = 0  ) 

Definition at line 63 of file interpolate-lm.cpp.

References print_help().

Here is the call graph for this function:


Generated on Thu Jul 6 00:31:23 2017 for Moses by  doxygen 1.5.9