#include <map>#include <vector>#include <set>#include "moses/Hypothesis.h"#include "moses/Manager.h"#include "moses/TrellisPathList.h"Go to the source code of this file.
Classes | |
| class | Moses::Edge |
| class | Moses::NgramScores |
| class | Moses::LatticeMBRSolution |
| struct | Moses::LatticeMBRSolutionComparator |
Namespaces | |
| namespace | Moses |
| $Id$ | |
Typedefs | |
| typedef std::vector< const Moses::Hypothesis * > | Moses::Lattice |
| typedef std::vector< const Edge * > | Moses::Path |
| typedef std::map< Path, size_t > | Moses::PathCounts |
| typedef std::map < Moses::Phrase, PathCounts > | Moses::NgramHistory |
Functions | |
| void | Moses::pruneLatticeFB (Lattice &connectedHyp, std::map< const Moses::Hypothesis *, std::set< const Moses::Hypothesis * > > &outgoingHyps, std::map< const Moses::Hypothesis *, std::vector< Edge > > &incomingEdges, const std::vector< float > &estimatedScores, const Moses::Hypothesis *, size_t edgeDensity, float scale) |
| void | Moses::getLatticeMBRNBest (const Moses::Manager &manager, const Moses::TrellisPathList &nBestList, std::vector< LatticeMBRSolution > &solutions, size_t n) |
| void | Moses::calcNgramExpectations (Lattice &connectedHyp, std::map< const Moses::Hypothesis *, std::vector< Edge > > &incomingEdges, std::map< Moses::Phrase, float > &finalNgramScores, bool posteriors) |
| void | Moses::GetOutputFactors (const Moses::TrellisPath &path, std::vector< Moses::Word > &translation) |
| void | Moses::extract_ngrams (const std::vector< Moses::Word > &sentence, std::map< Moses::Phrase, int > &allngrams) |
| bool | Moses::ascendingCoverageCmp (const Hypothesis *a, const Hypothesis *b) |
| vector< Word > | Moses::doLatticeMBR (const Manager &manager, const TrellisPathList &nBestList) |
| const TrellisPath | Moses::doConsensusDecoding (const Manager &manager, const TrellisPathList &nBestList) |
1.5.9