/disk4/html/www/moses/doxygen/mosesdecoder/moses/LatticeMBR.cpp File Reference

#include "LatticeMBR.h"
#include "moses/StaticData.h"
#include <algorithm>
#include <set>

Go to the source code of this file.


Namespaces

namespace  Moses
 $Id$

Functions

void Moses::GetOutputWords (const TrellisPath &path, vector< Word > &translation)
void Moses::extract_ngrams (const vector< Word > &sentence, map< Phrase, int > &allngrams)
void Moses::pruneLatticeFB (Lattice &connectedHyp, map< const Hypothesis *, set< const Hypothesis * > > &outgoingHyps, map< const Hypothesis *, vector< Edge > > &incomingEdges, const vector< float > &estimatedScores, const Hypothesis *bestHypo, size_t edgeDensity, float scale)
void Moses::calcNgramExpectations (Lattice &connectedHyp, map< const Hypothesis *, vector< Edge > > &incomingEdges, map< Phrase, float > &finalNgramScores, bool posteriors)
ostream & Moses::operator<< (ostream &out, const Edge &edge)
bool Moses::ascendingCoverageCmp (const Hypothesis *a, const Hypothesis *b)
void Moses::getLatticeMBRNBest (const Manager &manager, const TrellisPathList &nBestList, vector< LatticeMBRSolution > &solutions, size_t n)
vector< WordMoses::doLatticeMBR (const Manager &manager, const TrellisPathList &nBestList)
const TrellisPath Moses::doConsensusDecoding (const Manager &manager, const TrellisPathList &nBestList)

Variables

size_t Moses::bleu_order = 4
float Moses::UNKNGRAMLOGPROB = -20


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