#include <KBestExtractor.h>
Public Member Functions | |
Derivation (const boost::shared_ptr< KHyperedge > &) | |
Derivation (const Derivation &, std::size_t) | |
Public Attributes | |
boost::shared_ptr< KHyperedge > | edge |
std::vector< std::size_t > | backPointers |
std::vector< boost::shared_ptr < Derivation > > | subderivations |
ScoreComponentCollection | scoreBreakdown |
float | score |
Definition at line 42 of file KBestExtractor.h.
Moses::Syntax::KBestExtractor::Derivation::Derivation | ( | const boost::shared_ptr< KHyperedge > & | e | ) |
Definition at line 283 of file KBestExtractor.cpp.
References backPointers, edge, Moses::TargetPhrase::GetScoreBreakdown(), Moses::ScoreComponentCollection::GetWeightedScore(), Moses::Syntax::KBestExtractor::KVertex::kBestList, Moses::ScoreComponentCollection::PlusEquals(), score, scoreBreakdown, and subderivations.
Moses::Syntax::KBestExtractor::Derivation::Derivation | ( | const Derivation & | d, | |
std::size_t | i | |||
) |
Definition at line 307 of file KBestExtractor.cpp.
References backPointers, edge, Moses::ScoreComponentCollection::GetWeightedScore(), Moses::ScoreComponentCollection::MinusEquals(), Moses::ScoreComponentCollection::PlusEquals(), score, scoreBreakdown, and subderivations.
std::vector<std::size_t> Moses::Syntax::KBestExtractor::Derivation::backPointers |
boost::shared_ptr<KHyperedge> Moses::Syntax::KBestExtractor::Derivation::edge |
Definition at line 46 of file KBestExtractor.h.
Referenced by Derivation(), Moses::Syntax::KBestExtractor::GetOutputPhrase(), Moses::Syntax::KBestExtractor::GetOutputTree(), Moses::Syntax::S2T::DerivationWriter::Write(), and Moses::Syntax::F2S::DerivationWriter::Write().
std::vector<boost::shared_ptr<Derivation> > Moses::Syntax::KBestExtractor::Derivation::subderivations |
Definition at line 48 of file KBestExtractor.h.
Referenced by Derivation(), Moses::Syntax::KBestExtractor::GetOutputPhrase(), Moses::Syntax::KBestExtractor::GetOutputTree(), Moses::Syntax::S2T::DerivationWriter::Write(), and Moses::Syntax::F2S::DerivationWriter::Write().