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:
Diffstat (limited to 'moses/FF/LexicalReordering/LexicalReordering.cpp')
-rw-r--r--moses/FF/LexicalReordering/LexicalReordering.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/FF/LexicalReordering/LexicalReordering.cpp b/moses/FF/LexicalReordering/LexicalReordering.cpp
index d9b1843e9..c67a16076 100644
--- a/moses/FF/LexicalReordering/LexicalReordering.cpp
+++ b/moses/FF/LexicalReordering/LexicalReordering.cpp
@@ -65,8 +65,8 @@ LexicalReordering(const std::string &line)
}
// sanity check: number of default scores
- size_t numScores
- = m_numScoreComponents
+ size_t numScores
+ = m_numScoreComponents
= m_numTuneableComponents
= m_configuration->GetNumScoreComponents();
UTIL_THROW_IF2(m_haveDefaultScores && m_defaultScores.size() != numScores,
@@ -137,7 +137,7 @@ void
LexicalReordering::
SetCache(TranslationOption& to) const
{
- if (to.GetLexReorderingScores(this)) return;
+ if (to.GetLexReorderingScores(this)) return;
// Scores were were set already (e.g., by sampling phrase table)
Phrase const& sphrase = to.GetInputPath().GetPhrase();
@@ -157,7 +157,7 @@ void
LexicalReordering::
SetCache(TranslationOptionList& tol) const
{
- BOOST_FOREACH(TranslationOption* to, tol)
+ BOOST_FOREACH(TranslationOption* to, tol)
this->SetCache(*to);
}