Moses::ChartTranslationOption Class Reference

#include <ChartTranslationOption.h>

Collaboration diagram for Moses::ChartTranslationOption:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChartTranslationOption (const TargetPhrase &targetPhrase)
const TargetPhraseGetPhrase () const
const InputPathGetInputPath () const
void SetInputPath (const InputPath *inputPath)
const std::vector< const Word * > * GetSourceRuleFromInputPath () const
void SetSourceRuleFromInputPath (const std::vector< const Word * > *obj)
const ScoreComponentCollectionGetScores () const
void EvaluateWithSourceContext (const InputType &input, const InputPath &inputPath, const StackVec &stackVec)

Protected Attributes

const TargetPhrasem_targetPhrase
ScoreComponentCollection m_scoreBreakdown
const InputPathm_inputPath
const std::vector< const Word * > * m_ruleSourceFromInputPath

Friends

std::ostream & operator<< (std::ostream &, const ChartTranslationOption &)


Detailed Description

Definition at line 12 of file ChartTranslationOption.h.


Constructor & Destructor Documentation

Moses::ChartTranslationOption::ChartTranslationOption ( const TargetPhrase targetPhrase  ) 

Definition at line 7 of file ChartTranslationOption.cpp.


Member Function Documentation

void Moses::ChartTranslationOption::EvaluateWithSourceContext ( const InputType input,
const InputPath inputPath,
const StackVec stackVec 
)

Definition at line 13 of file ChartTranslationOption.cpp.

References Moses::FeatureFunction::EvaluateWithSourceContext(), Moses::FeatureFunction::GetFeatureFunctions(), m_scoreBreakdown, and m_targetPhrase.

Referenced by Moses::ChartTranslationOptions::EvaluateWithSourceContext().

Here is the call graph for this function:

Here is the caller graph for this function:

const InputPath* Moses::ChartTranslationOption::GetInputPath (  )  const [inline]

Definition at line 29 of file ChartTranslationOption.h.

References m_inputPath.

const TargetPhrase& Moses::ChartTranslationOption::GetPhrase (  )  const [inline]

Definition at line 25 of file ChartTranslationOption.h.

References m_targetPhrase.

const ScoreComponentCollection& Moses::ChartTranslationOption::GetScores (  )  const [inline]

const std::vector<const Word*>* Moses::ChartTranslationOption::GetSourceRuleFromInputPath (  )  const [inline]

Definition at line 37 of file ChartTranslationOption.h.

References m_ruleSourceFromInputPath.

Referenced by Moses::ChartKBestExtractor::GetOutputPhrase(), and Moses::ChartHypothesis::GetOutputPhrase().

Here is the caller graph for this function:

void Moses::ChartTranslationOption::SetInputPath ( const InputPath inputPath  )  [inline]

Definition at line 33 of file ChartTranslationOption.h.

References m_inputPath.

Referenced by Moses::ChartTranslationOptions::EvaluateWithSourceContext(), and Moses::ChartTranslationOptions::SetInputPath().

Here is the caller graph for this function:

void Moses::ChartTranslationOption::SetSourceRuleFromInputPath ( const std::vector< const Word * > *  obj  )  [inline]

Definition at line 40 of file ChartTranslationOption.h.

References m_ruleSourceFromInputPath.

Referenced by Moses::ChartTranslationOptions::CreateSourceRuleFromInputPath().

Here is the caller graph for this function:


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const ChartTranslationOption transOpt 
) [friend]

Definition at line 26 of file ChartTranslationOption.cpp.


Member Data Documentation

Definition at line 19 of file ChartTranslationOption.h.

Referenced by GetInputPath(), and SetInputPath().

const std::vector<const Word*>* Moses::ChartTranslationOption::m_ruleSourceFromInputPath [protected]


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

Generated on Thu Jul 6 00:32:55 2017 for Moses by  doxygen 1.5.9