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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-10-31 15:50:52 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-10-31 15:50:52 +0300
commit324c378f7fc54f02a8ea264915d3eade867ff23d (patch)
tree2bb934fee448845b0524427d437c871e7118ac2c /moses/ScoreComponentCollection.h
parentdc8ad899454bd82408c6a371d5f50e497ede0caa (diff)
Options refactoring. Moses crashed in server mode when asked to provide n-best translations with scores.
Diffstat (limited to 'moses/ScoreComponentCollection.h')
-rw-r--r--moses/ScoreComponentCollection.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/moses/ScoreComponentCollection.h b/moses/ScoreComponentCollection.h
index 696658c80..04da0db35 100644
--- a/moses/ScoreComponentCollection.h
+++ b/moses/ScoreComponentCollection.h
@@ -433,10 +433,9 @@ public:
m_scores.merge(other.m_scores);
}
- void OutputAllFeatureScores(std::ostream &out) const;
- void OutputFeatureScores( std::ostream& out
- , const Moses::FeatureFunction *ff
- , std::string &lastName ) const;
+ void OutputAllFeatureScores(std::ostream &out, bool with_labels) const;
+ void OutputFeatureScores(std::ostream& out, Moses::FeatureFunction const* ff,
+ std::string &lastName, bool with_labels) const;
#ifdef MPI_ENABLE
public: