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:
authorMosesAdmin <moses-support-owner@mit.edu>2015-11-25 03:00:39 +0300
committerMosesAdmin <moses-support-owner@mit.edu>2015-11-25 03:00:39 +0300
commit57a291421a5dd9d46a3bc006daa1555be7c6980d (patch)
treea46be9fcfa309f40a43a044c1c8b21bd2052ea36
parentca038c5e4c7147b946fa29da27cc0e2e1cab1459 (diff)
daily automatic beautifier
-rw-r--r--moses/FF/FeatureFunction.cpp4
-rw-r--r--moses/LM/Ken.cpp3
-rw-r--r--moses/ScoreComponentCollectionTest.cpp3
3 files changed, 4 insertions, 6 deletions
diff --git a/moses/FF/FeatureFunction.cpp b/moses/FF/FeatureFunction.cpp
index d9cb3f1ae..5de14defe 100644
--- a/moses/FF/FeatureFunction.cpp
+++ b/moses/FF/FeatureFunction.cpp
@@ -55,7 +55,7 @@ FeatureFunction(const std::string& line, bool registerNow)
m_numTuneableComponents = m_numScoreComponents;
ParseLine(line);
// if (registerNow) Register(); // now done in FeatureFactory::DefaultSetup()
- // TO DO: eliminate the registerNow parameter
+ // TO DO: eliminate the registerNow parameter
}
FeatureFunction::FeatureFunction(size_t numScoreComponents, const std::string& line, bool registerNow)
@@ -68,7 +68,7 @@ FeatureFunction::FeatureFunction(size_t numScoreComponents, const std::string& l
m_numTuneableComponents = m_numScoreComponents;
ParseLine(line);
// if (registerNow) Register(); // now done in FeatureFactory::DefaultSetup()
- // TO DO: eliminate the registerNow parameter
+ // TO DO: eliminate the registerNow parameter
}
void
diff --git a/moses/LM/Ken.cpp b/moses/LM/Ken.cpp
index 6914554a5..428640290 100644
--- a/moses/LM/Ken.cpp
+++ b/moses/LM/Ken.cpp
@@ -157,8 +157,7 @@ template <class Model> LanguageModelKen<Model>::LanguageModelKen(const std::stri
lm::ngram::Config config;
if(this->m_verbosity >= 1) {
config.messages = &std::cerr;
- }
- else {
+ } else {
config.messages = NULL;
}
FactorCollection &collection = FactorCollection::Instance();
diff --git a/moses/ScoreComponentCollectionTest.cpp b/moses/ScoreComponentCollectionTest.cpp
index b4e4ce32a..da7e99ea1 100644
--- a/moses/ScoreComponentCollectionTest.cpp
+++ b/moses/ScoreComponentCollectionTest.cpp
@@ -89,8 +89,7 @@ public:
struct MockProducers {
- MockProducers()
- {
+ MockProducers() {
FeatureFunction::Register(&single);
FeatureFunction::Register(&multi);
FeatureFunction::Register(&sparse);