Moses::TgtCand Class Reference

List of all members.

Public Member Functions

 TgtCand ()
 TgtCand (const IPhrase &a, const Scores &b, const std::string &alignment)
 TgtCand (const IPhrase &a, const Scores &b)
 TgtCand (FILE *f)
void writeBin (FILE *f) const
void readBin (FILE *f)
void writeBinWithAlignment (FILE *f) const
void readBinWithAlignment (FILE *f)
const IPhraseGetPhrase () const
const ScoresGetScores () const
const std::string & GetAlignment () const
const IPhraseGetFeatureNames () const
const std::vector< FValueGetFeatureValues () const
void SetFeatures (const IPhrase &names, const std::vector< FValue > &values)


Detailed Description

Definition at line 30 of file PhraseDictionaryTree.cpp.


Constructor & Destructor Documentation

Moses::TgtCand::TgtCand (  )  [inline]

Definition at line 41 of file PhraseDictionaryTree.cpp.

Moses::TgtCand::TgtCand ( const IPhrase a,
const Scores b,
const std::string &  alignment 
) [inline]

Definition at line 43 of file PhraseDictionaryTree.cpp.

Moses::TgtCand::TgtCand ( const IPhrase a,
const Scores b 
) [inline]

Definition at line 49 of file PhraseDictionaryTree.cpp.

Moses::TgtCand::TgtCand ( FILE *  f  )  [inline]

Definition at line 51 of file PhraseDictionaryTree.cpp.

References readBin().

Here is the call graph for this function:


Member Function Documentation

const std::string& Moses::TgtCand::GetAlignment (  )  const [inline]

Definition at line 98 of file PhraseDictionaryTree.cpp.

Referenced by Moses::PDTimp::ConvertTgtCand().

Here is the caller graph for this function:

const IPhrase& Moses::TgtCand::GetFeatureNames (  )  const [inline]

Definition at line 102 of file PhraseDictionaryTree.cpp.

Referenced by Moses::PDTimp::ConvertTgtCand().

Here is the caller graph for this function:

const std::vector<FValue> Moses::TgtCand::GetFeatureValues (  )  const [inline]

Definition at line 106 of file PhraseDictionaryTree.cpp.

Referenced by Moses::PDTimp::ConvertTgtCand().

Here is the caller graph for this function:

const IPhrase& Moses::TgtCand::GetPhrase (  )  const [inline]

Definition at line 92 of file PhraseDictionaryTree.cpp.

Referenced by Moses::PDTimp::ConvertTgtCand().

Here is the caller graph for this function:

const Scores& Moses::TgtCand::GetScores (  )  const [inline]

Definition at line 95 of file PhraseDictionaryTree.cpp.

Referenced by Moses::PDTimp::ConvertTgtCand().

Here is the caller graph for this function:

void Moses::TgtCand::readBin ( FILE *  f  )  [inline]

Definition at line 72 of file PhraseDictionaryTree.cpp.

References Moses::fReadVector().

Referenced by readBinWithAlignment(), and TgtCand().

Here is the call graph for this function:

Here is the caller graph for this function:

void Moses::TgtCand::readBinWithAlignment ( FILE *  f  )  [inline]

Definition at line 87 of file PhraseDictionaryTree.cpp.

References Moses::fReadString(), and readBin().

Here is the call graph for this function:

void Moses::TgtCand::SetFeatures ( const IPhrase names,
const std::vector< FValue > &  values 
) [inline]

Definition at line 110 of file PhraseDictionaryTree.cpp.

References UTIL_THROW_IF2.

void Moses::TgtCand::writeBin ( FILE *  f  )  const [inline]

Definition at line 56 of file PhraseDictionaryTree.cpp.

References Moses::fWriteVector().

Referenced by writeBinWithAlignment().

Here is the call graph for this function:

Here is the caller graph for this function:

void Moses::TgtCand::writeBinWithAlignment ( FILE *  f  )  const [inline]

Definition at line 82 of file PhraseDictionaryTree.cpp.

References Moses::fWriteString(), and writeBin().

Here is the call graph for this function:


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

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