diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-09 21:17:18 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-09 21:17:18 +0400 |
commit | 8756ad8ffde618c31c362823c7c585c019c683f0 (patch) | |
tree | 8bd5510c49838bf0589b65f51c5e54fa741440f8 /moses/ChartTranslationOptions.cpp | |
parent | a867063a3bd0996c5e204f0e2639e3f983b5f78f (diff) |
beautify
Diffstat (limited to 'moses/ChartTranslationOptions.cpp')
-rw-r--r-- | moses/ChartTranslationOptions.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/moses/ChartTranslationOptions.cpp b/moses/ChartTranslationOptions.cpp index bddb635de..e46a8d3cf 100644 --- a/moses/ChartTranslationOptions.cpp +++ b/moses/ChartTranslationOptions.cpp @@ -27,20 +27,20 @@ namespace Moses { ChartTranslationOptions::ChartTranslationOptions(const TargetPhraseCollection &targetPhraseColl, - const StackVec &stackVec, - const WordsRange &wordsRange, - float score) - : m_stackVec(stackVec) - , m_wordsRange(&wordsRange) - , m_estimateOfBestScore(score) + const StackVec &stackVec, + const WordsRange &wordsRange, + float score) + : m_stackVec(stackVec) + , m_wordsRange(&wordsRange) + , m_estimateOfBestScore(score) { - TargetPhraseCollection::const_iterator iter; - for (iter = targetPhraseColl.begin(); iter != targetPhraseColl.end(); ++iter) { - const TargetPhrase *origTP = *iter; + TargetPhraseCollection::const_iterator iter; + for (iter = targetPhraseColl.begin(); iter != targetPhraseColl.end(); ++iter) { + const TargetPhrase *origTP = *iter; - boost::shared_ptr<TargetPhrase> ptr(new TargetPhrase(*origTP)); - m_targetPhraseCollection.push_back(ptr); - } + boost::shared_ptr<TargetPhrase> ptr(new TargetPhrase(*origTP)); + m_targetPhraseCollection.push_back(ptr); + } } ChartTranslationOptions::~ChartTranslationOptions() |