diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-09-06 01:34:22 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-09-06 01:34:22 +0400 |
commit | 12c4a0a68e104a38c8f0765078b063508413fab7 (patch) | |
tree | 04259f6b71804ee47479d8a3ea4a806ab89705f1 /moses/PCNTools.cpp | |
parent | 6f81004e206e2200c4d98c7090b3ecb7ec842daf (diff) |
lattice decoding with sparse features
Diffstat (limited to 'moses/PCNTools.cpp')
-rw-r--r-- | moses/PCNTools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/PCNTools.cpp b/moses/PCNTools.cpp index 186e66b37..1e6d475b2 100644 --- a/moses/PCNTools.cpp +++ b/moses/PCNTools.cpp @@ -141,7 +141,7 @@ CNAlt getCNAlt(const std::string& in, int &c) return CNAlt(); } eatws(in,c); - return CNAlt(std::pair<std::string, std::vector<float> >(word,probs), cnNext); + return CNAlt(word, probs, sparseFeatures, cnNext); } // parse (('foo', 0.23), ('bar', 0.77)) |