#include <iostream>
#include <cmath>
#include "cmd.h"
#include "mfstream.h"
#include "mempool.h"
#include "htable.h"
#include "dictionary.h"
#include "n_gram.h"
#include "ngramtable.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 59 of file ngt.cpp.
References ngramtable::augment(), ngramtable::bo_state(), dictionary::BoS(), dictionary::cleanfreq(), CMDBOOLTYPE, CMDDOUBLETYPE, CMDINTTYPE, CMDMSG, CMDSTRINGTYPE, CMDSUBRANGETYPE, CONT, ngram::containsWord(), COUNT, DeclareParams(), dictionary::decode(), ngram::dict, ngramtable::dict, dictionary::encode(), dictionary::EoS(), ngram::freq, dictionary::freq(), ngramtable::get(), dictionary::getcode(), GetParams(), dictionary::incflag(), dictionary::incfreq(), INIT, LEAFPROB, MAX_NGRAM, maxhits, ngramtable::maxlevel(), ngramtable::ngtype(), NULL, dictionary::OOV(), dictionary::oovcode(), ngramtable::prob(), ngramtable::put(), ngramtable::savebin(), ngramtable::savetxt(), ngramtable::scan(), ngram::size, dictionary::size(), ngramtable::stat(), ngram::trans(), usage(), and ngram::wordp().
void print_help | ( | int | TypeFlag = 0 |
) |
Definition at line 39 of file ngt.cpp.
References FullPrintParams().
void usage | ( | const char * | msg = 0 |
) |
Definition at line 48 of file ngt.cpp.
References print_help().