#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) |
| 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().

| void print_help | ( | int | TypeFlag = 0 |
) |
Definition at line 38 of file prune-lm.cpp.
References FullPrintParams().

| void s2t | ( | string | cps, | |
| float * | thr | |||
| ) |
Definition at line 63 of file prune-lm.cpp.
References MAX_NGRAM.
Referenced by main().

| void usage | ( | const char * | msg = 0 |
) |
Definition at line 52 of file prune-lm.cpp.
References print_help().

1.5.9