Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2013-09-12 21:50:09 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-09-12 21:50:09 +0400
commit9950279bc72c2acdf227ca30ef4bba2d900c241b (patch)
tree1c594f5a550b75c0097f2bcdba2bd61342ee1dee /moses/ChartTranslationOption.h
parent5e506ed91409ff94b5436b5f06946f47d719d1ee (diff)
add pointer to input path to chart translation option
Diffstat (limited to 'moses/ChartTranslationOption.h')
-rw-r--r--moses/ChartTranslationOption.h6
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;
}