diff options
author | Barry Haddow <barry.haddow@gmail.com> | 2014-08-08 19:05:50 +0400 |
---|---|---|
committer | Barry Haddow <barry.haddow@gmail.com> | 2014-08-08 19:05:50 +0400 |
commit | c5b3f67877cb70a64243d9f78d4656c1244de1e9 (patch) | |
tree | d82c66cb37d9cb8a5ab1ea8cdf9fcbd7caf054cd /moses/FeatureVector.h | |
parent | a299bb1943a72978c26d267c8bddad874750537a (diff) |
Fix output of sparse features in hypergraph
Diffstat (limited to 'moses/FeatureVector.h')
-rw-r--r-- | moses/FeatureVector.h | 2 |
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); |