#include <MockHypothesis.h>
Public Member Functions | |
MockHypothesisGuard (const std::string &sourceSentence, const std::vector< Alignment > &alignments, const std::vector< std::string > &targetSegments) | |
Moses::Hypothesis * | operator* () const |
~MockHypothesisGuard () |
Definition at line 44 of file MockHypothesis.h.
MosesTest::MockHypothesisGuard::MockHypothesisGuard | ( | const std::string & | sourceSentence, | |
const std::vector< Alignment > & | alignments, | |||
const std::vector< std::string > & | targetSegments | |||
) |
Creates a phrase-based hypothesis.
MosesTest::MockHypothesisGuard::~MockHypothesisGuard | ( | ) |
Destroy the hypothesis chain
Definition at line 74 of file MockHypothesis.cpp.
References Moses::Hypothesis::GetPrevHypo(), and Moses::RemoveAllInColl().
Moses::Hypothesis* MosesTest::MockHypothesisGuard::operator* | ( | ) | const [inline] |
Definition at line 54 of file MockHypothesis.h.