diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-09-22 17:09:49 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-09-22 17:09:49 +0400 |
commit | 574d716f23587803d7b67c6346ab2ba494059a35 (patch) | |
tree | d8b8368e796f03734680d183a2a7fb28a489ccf3 /moses/ChartTranslationOption.cpp | |
parent | ffbfcb5577efbff5825519739464128811e9d490 (diff) |
placeholder for chart decoding
Diffstat (limited to 'moses/ChartTranslationOption.cpp')
-rw-r--r-- | moses/ChartTranslationOption.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/moses/ChartTranslationOption.cpp b/moses/ChartTranslationOption.cpp index 2e2732f74..05d83f567 100644 --- a/moses/ChartTranslationOption.cpp +++ b/moses/ChartTranslationOption.cpp @@ -19,5 +19,13 @@ void ChartTranslationOption::Evaluate(const InputType &input, const InputPath &i ff.Evaluate(input, inputPath, m_targetPhrase, m_scoreBreakdown); } } + + +std::ostream& operator<<(std::ostream &out, const ChartTranslationOption &transOpt) +{ + out << transOpt.m_targetPhrase << " " << transOpt.m_scoreBreakdown; + return out; +} + } |