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/FeatureVector.h
parenta299bb1943a72978c26d267c8bddad874750537a (diff)
Fix output of sparse features in hypergraph
Diffstat (limited to 'moses/FeatureVector.h')
-rw-r--r--moses/FeatureVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/FeatureVector.h b/moses/FeatureVector.h
index e14006da7..fd5d3340c 100644
--- a/moses/FeatureVector.h
+++ b/moses/FeatureVector.h
@@ -167,7 +167,7 @@ public:
/** Load from file - each line should be 'root[_name] value' */
bool load(const std::string& filename);
void save(const std::string& filename) const;
- void write(std::ostream& out, const std::string& sep=" ") const ;
+ void write(std::ostream& out, const std::string& sep=" ", const std::string& linesep="\n") const ;
/** Element access */
ProxyFVector operator[](const FName& name);