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-02 03:00:37 +0300
committerMosesAdmin <moses-support-owner@mit.edu>2015-11-02 03:00:37 +0300
commitf38976aba07e0dbca74f9b824b28add486889b2a (patch)
tree54d2a68a9da692ba4e8fc91d339523e9874acd66 /moses/ScoreComponentCollection.cpp
parent8424fb6e2ad8e9d15471c7e610bce85082610a41 (diff)
daily automatic beautifier
Diffstat (limited to 'moses/ScoreComponentCollection.cpp')
-rw-r--r--moses/ScoreComponentCollection.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/moses/ScoreComponentCollection.cpp b/moses/ScoreComponentCollection.cpp
index e7a2acf9d..7ce03c608 100644
--- a/moses/ScoreComponentCollection.cpp
+++ b/moses/ScoreComponentCollection.cpp
@@ -280,7 +280,7 @@ void ScoreComponentCollection::ZeroDenseFeatures(const FeatureFunction* sp)
}
//! get subset of scores that belong to a certain sparse ScoreProducer
-FVector
+FVector
ScoreComponentCollection::
GetVectorForProducer(const FeatureFunction* sp) const
{
@@ -307,21 +307,21 @@ void ScoreComponentCollection::PlusEquals(const FeatureFunction* sp, const Score
}
}
-void
+void
ScoreComponentCollection::
OutputAllFeatureScores(std::ostream &out, bool with_labels) const
{
std::string lastName = "";
- const vector<const StatefulFeatureFunction*>& sff
- = StatefulFeatureFunction::GetStatefulFeatureFunctions();
+ const vector<const StatefulFeatureFunction*>& sff
+ = StatefulFeatureFunction::GetStatefulFeatureFunctions();
for( size_t i=0; i<sff.size(); i++ ) {
const StatefulFeatureFunction *ff = sff[i];
if (ff->IsTuneable()) {
OutputFeatureScores(out, ff, lastName, with_labels);
}
}
- const vector<const StatelessFeatureFunction*>& slf
- = StatelessFeatureFunction::GetStatelessFeatureFunctions();
+ const vector<const StatelessFeatureFunction*>& slf
+ = StatelessFeatureFunction::GetStatelessFeatureFunctions();
for( size_t i=0; i<slf.size(); i++ ) {
const StatelessFeatureFunction *ff = slf[i];
if (ff->IsTuneable()) {
@@ -330,10 +330,10 @@ OutputAllFeatureScores(std::ostream &out, bool with_labels) const
}
}
-void
+void
ScoreComponentCollection::
OutputFeatureScores(std::ostream& out, FeatureFunction const* ff,
- std::string &lastName, bool with_labels) const
+ std::string &lastName, bool with_labels) const
{
// const StaticData &staticData = StaticData::Instance();
// bool labeledOutput = staticData.options().nbest.include_feature_labels;