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:
authorBarry Haddow <barry.haddow@gmail.com>2014-08-08 19:05:50 +0400
committerBarry Haddow <barry.haddow@gmail.com>2014-08-08 19:05:50 +0400
commitc5b3f67877cb70a64243d9f78d4656c1244de1e9 (patch)
treed82c66cb37d9cb8a5ab1ea8cdf9fcbd7caf054cd /moses/ScoreComponentCollection.cpp
parenta299bb1943a72978c26d267c8bddad874750537a (diff)
Fix output of sparse features in hypergraph
Diffstat (limited to 'moses/ScoreComponentCollection.cpp')
-rw-r--r--moses/ScoreComponentCollection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ScoreComponentCollection.cpp b/moses/ScoreComponentCollection.cpp
index d4df4742e..eedaa589e 100644
--- a/moses/ScoreComponentCollection.cpp
+++ b/moses/ScoreComponentCollection.cpp
@@ -203,7 +203,7 @@ void ScoreComponentCollection::Save(ostream& out, bool multiline) const
}
// write sparse features
- m_scores.write(out,sep);
+ m_scores.write(out,sep,linesep);
}
void ScoreComponentCollection::Save(const string& filename) const