diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-09-12 21:50:09 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-09-12 21:50:09 +0400 |
commit | 9950279bc72c2acdf227ca30ef4bba2d900c241b (patch) | |
tree | 1c594f5a550b75c0097f2bcdba2bd61342ee1dee /moses/ChartTranslationOption.h | |
parent | 5e506ed91409ff94b5436b5f06946f47d719d1ee (diff) |
add pointer to input path to chart translation option
Diffstat (limited to 'moses/ChartTranslationOption.h')
-rw-r--r-- | moses/ChartTranslationOption.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/moses/ChartTranslationOption.h b/moses/ChartTranslationOption.h index 8984adf66..271ff7256 100644 --- a/moses/ChartTranslationOption.h +++ b/moses/ChartTranslationOption.h @@ -13,6 +13,7 @@ class ChartTranslationOption protected: const TargetPhrase &m_targetPhrase; ScoreComponentCollection m_scoreBreakdown; + const InputPath *m_inputPath; public: ChartTranslationOption(const TargetPhrase &targetPhrase); @@ -21,6 +22,11 @@ public: return m_targetPhrase; } + void SetInputPath(const InputPath *inputPath) + { m_inputPath = inputPath; } + const InputPath *GetInputPath() const + { return m_inputPath; } + const ScoreComponentCollection &GetScores() const { return m_scoreBreakdown; } |