#include <PhraseTableCreator.h>
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 |
Definition at line 155 of file PhraseTableCreator.h.
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.
long Moses::PackedItem::GetLine | ( | ) | const |
Definition at line 1261 of file PhraseTableCreator.cpp.
Referenced by Moses::operator<().
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.