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

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

Go to the source code of this file.


struct  DataItem


int cmpFloatEntry (const void *a, const void *b)
int ComputeCluster (int nc, double *cl, unsigned int N, DataItem *Pts)
void print_help (int TypeFlag=0)
void usage (const char *msg=0)
int main (int argc, char **argv)


int k = 256
const int MAXLEV = 11

Function Documentation

int cmpFloatEntry ( const void *  a,
const void *  b 

Definition at line 49 of file quantize-lm.cpp.

Referenced by ComputeCluster().

Here is the caller graph for this function:

int ComputeCluster ( int  nc,
double *  cl,
unsigned int  N,
DataItem Pts 

Definition at line 408 of file quantize-lm.cpp.

References cmpFloatEntry(), and DataItem::code.

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 76 of file quantize-lm.cpp.

References FullPrintParams().

Here is the call graph for this function:

void usage ( const char *  msg = 0  ) 

Definition at line 93 of file quantize-lm.cpp.

References print_help().

Here is the call graph for this function:

Variable Documentation

int k = 256

Definition at line 69 of file quantize-lm.cpp.

Referenced by sapt::imBitext< TKN >::add(), MosesTuning::ReferenceSet::AddLine(), Moses::AddStats(), IBM1::align(), stringdist::StringDiff::align(), Moses::MonotonicVector< unsigned, unsigned int, 32 >::at(), basename(), tpt::binread(), BOOST_AUTO_TEST_CASE(), Moses::PDTAimp::CacheSource(), Moses::calcNgramExpectations(), sapt::Ttrack< TKN >::count_tokens(), Moses::Word::CreateFromString(), Moses::PDTAimp::CreateTargetPhrase(), Moses::DecodeStep::DecodeStep(), extract_ngrams(), Moses::extract_ngrams(), IBM1::fill_amatrix(), Moses::filter_arguments(), sapt::Ttrack< TKN >::find_next_within_sentence(), sapt::TSA< TKN >::findBranches(), floyd_warshall(), generateStory(), sapt::BitSetCache< TSA >::get(), sapt::BitSetCache< TSA >::get2(), double_conversion::PowersOfTenCache::GetCachedPowerForBinaryExponentRange(), Moses::Mmsapt::GetTargetPhraseCollectionLEGACY(), sapt::imTSA< TOKEN >::imTSA(), sapt::DocumentBias::init_from_json(), MosesTuning::Optimizer::LineOptimize(), Moses::StaticData::LoadAlternateWeightSettings(), lookup_phrase(), lookup_phrases(), main(), map_back(), mapstring(), util::MurmurHash64A(), MosesTuning::operator==(), Moses::NBestList< THINGY, CMP >::operator[](), Moses::parseLine(), sapt::print_amatrix(), Counter::processSentence(), LVoc< std::string >::Read(), MosesTuning::Data::removeDuplicates(), sapt::imTSA< TOKEN >::save_as_mm_tsa(), htable< T >::scan(), sapt::LexicalPhraseScorer2< TKN >::score(), MosesTuning::StatisticsBasedScorer::score(), MosesTuning::SentenceLevelScorer::score(), MosesTuning::InterpolatedScorer::setScoreData(), show_pair(), show_snt(), tmmt::SuffixArray::Sort(), dictionary::test(), mixture::train(), Moses::TranslationOptionCollectionConfusionNet::TranslationOptionCollectionConfusionNet(), MosesTuning::Viterbi(), and lmtable::wdprune().

const int MAXLEV = 11

Definition at line 70 of file quantize-lm.cpp.

Referenced by main().

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