#include <AlignmentInfoCollection.h>
Public Member Functions | |
template<typename ALNREP > | |
AlignmentInfo const * | Add (ALNREP const &aln) |
const AlignmentInfo & | GetEmptyAlignmentInfo () const |
Returns a pointer to an empty AlignmentInfo object. | |
Static Public Member Functions | |
static AlignmentInfoCollection & | Instance () |
Definition at line 37 of file AlignmentInfoCollection.h.
AlignmentInfo const* Moses::AlignmentInfoCollection::Add | ( | ALNREP const & | aln | ) | [inline] |
Definition at line 55 of file AlignmentInfoCollection.h.
const AlignmentInfo & Moses::AlignmentInfoCollection::GetEmptyAlignmentInfo | ( | ) | const |
Returns a pointer to an empty AlignmentInfo object.
Definition at line 36 of file AlignmentInfoCollection.cpp.
static AlignmentInfoCollection& Moses::AlignmentInfoCollection::Instance | ( | ) | [inline, static] |
Definition at line 40 of file AlignmentInfoCollection.h.
Referenced by Moses::ProbingPT::CreateAlignmentMap(), Moses::TargetPhrase::SetAlignNonTerm(), and Moses::TargetPhrase::SetAlignTerm().