Moses::PackedItem Class Reference

#include <PhraseTableCreator.h>

List of all members.

Public Member Functions

 PackedItem (long line, std::string sourcePhrase, std::string packedTargetPhrase, size_t rank, float m_score=0)
long GetLine () const
const std::string & GetSrc () const
const std::string & GetTrg () const
size_t GetRank () const
float GetScore () const

Detailed Description

Definition at line 155 of file PhraseTableCreator.h.

Constructor & Destructor Documentation

Moses::PackedItem::PackedItem ( long  line,
std::string  sourcePhrase,
std::string  packedTargetPhrase,
size_t  rank,
float  m_score = 0 

Definition at line 1254 of file PhraseTableCreator.cpp.

Member Function Documentation

long Moses::PackedItem::GetLine (  )  const

Definition at line 1261 of file PhraseTableCreator.cpp.

Referenced by Moses::operator<().

Here is the caller graph for this function:

size_t Moses::PackedItem::GetRank (  )  const

Definition at line 1276 of file PhraseTableCreator.cpp.

float Moses::PackedItem::GetScore (  )  const

Definition at line 1281 of file PhraseTableCreator.cpp.

const std::string & Moses::PackedItem::GetSrc (  )  const

Definition at line 1266 of file PhraseTableCreator.cpp.

const std::string & Moses::PackedItem::GetTrg (  )  const

Definition at line 1271 of file PhraseTableCreator.cpp.

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

Generated on Thu Jul 6 00:33:39 2017 for Moses by  doxygen 1.5.9