diff --git a/moses/ChartTranslationOptions.cpp b/moses/ChartTranslationOptions.cpp index 5ba88a0db..44223af72 100644 --- a/moses/ChartTranslationOptions.cpp +++ b/moses/ChartTranslationOptions.cpp @@ -26,6 +26,23 @@ namespace Moses { +ChartTranslationOptions::ChartTranslationOptions(const TargetPhraseCollection &targetPhraseColl, + const StackVec &stackVec, + const WordsRange &wordsRange, + float score) + : m_stackVec(stackVec) + , m_targetPhraseCollection(&targetPhraseColl) + , m_wordsRange(&wordsRange) + , m_estimateOfBestScore(score) +{ + +} + +ChartTranslationOptions::~ChartTranslationOptions() +{ + +} + float ChartTranslationOptions::CalcEstimateOfBestScore( const TargetPhraseCollection &tpc, const StackVec &stackVec) diff --git a/moses/ChartTranslationOptions.h b/moses/ChartTranslationOptions.h index 785f6aad7..efedd331d 100644 --- a/moses/ChartTranslationOptions.h +++ b/moses/ChartTranslationOptions.h @@ -45,14 +45,8 @@ public: ChartTranslationOptions(const TargetPhraseCollection &targetPhraseColl, const StackVec &stackVec, const WordsRange &wordsRange, - float score) - : m_stackVec(stackVec) - , m_targetPhraseCollection(&targetPhraseColl) - , m_wordsRange(&wordsRange) - , m_estimateOfBestScore(score) { - } - - ~ChartTranslationOptions() {} + float score); + ~ChartTranslationOptions(); static float CalcEstimateOfBestScore(const TargetPhraseCollection &, const StackVec &);