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

#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <stdlib.h>
#include "cmd.h"
#include "util.h"
#include "math.h"
#include "lmtable.h"

Go to the source code of this file.

Functions

void print_help (int TypeFlag=0)
void usage (const char *msg=0)
void s2t (string cps, float *thr)
int main (int argc, char **argv)


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 73 of file prune-lm.cpp.

References CMDBOOLTYPE, CMDMSG, CMDSTRINGTYPE, DeclareParams(), GetParams(), lmtable::load(), MAX_NGRAM, lmtable::maxlevel(), NONE, NULL, s2t(), lmtable::savetxt(), usage(), and lmtable::wdprune().

Here is the call graph for this function:

void print_help ( int  TypeFlag = 0  ) 

Definition at line 38 of file prune-lm.cpp.

References FullPrintParams().

Here is the call graph for this function:

void s2t ( string  cps,
float *  thr 
)

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

References MAX_NGRAM.

Referenced by main().

Here is the caller graph for this function:

void usage ( const char *  msg = 0  ) 

Definition at line 52 of file prune-lm.cpp.

References print_help().

Here is the call graph for this function:


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