Moses::ChartKBestExtractor Class Reference

#include <ChartKBestExtractor.h>

List of all members.

Classes

struct  Derivation
struct  DerivationEqualityPred
struct  DerivationHasher
struct  DerivationOrderer
struct  UnweightedHyperarc
struct  Vertex

Public Types

typedef std::vector
< boost::shared_ptr
< Derivation > > 
KBestVec

Public Member Functions

void Extract (const std::vector< const ChartHypothesis * > &topHypos, std::size_t k, KBestVec &)

Static Public Member Functions

static Phrase GetOutputPhrase (const Derivation &)
static boost::shared_ptr
< ScoreComponentCollection
GetOutputScoreBreakdown (const Derivation &)
static TreePointer GetOutputTree (const Derivation &)


Detailed Description

Definition at line 43 of file ChartKBestExtractor.h.


Member Typedef Documentation

typedef std::vector<boost::shared_ptr<Derivation> > Moses::ChartKBestExtractor::KBestVec

Definition at line 85 of file ChartKBestExtractor.h.


Member Function Documentation

void Moses::ChartKBestExtractor::Extract ( const std::vector< const ChartHypothesis * > &  topHypos,
std::size_t  k,
KBestVec kBestList 
)

Definition at line 36 of file ChartKBestExtractor.cpp.

References Moses::ChartHypothesis::GetFutureScore(), and UTIL_THROW_IF2.

Here is the call graph for this function:

Phrase Moses::ChartKBestExtractor::GetOutputPhrase ( const Derivation d  )  [static]

boost::shared_ptr< ScoreComponentCollection > Moses::ChartKBestExtractor::GetOutputScoreBreakdown ( const Derivation d  )  [static]

TreePointer Moses::ChartKBestExtractor::GetOutputTree ( const Derivation d  )  [static]


The documentation for this class was generated from the following files:

Generated on Thu Jul 6 00:32:54 2017 for Moses by  doxygen 1.5.9