summaryrefslogtreecommitdiff
path: root/decoder/incremental.cc
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-06-19 16:46:52 +0100
committerPaul Baltescu <pauldb89@gmail.com>2013-06-19 16:46:52 +0100
commit22e6ab01aebca3e9012b07f9600153c7b593996e (patch)
tree844d1a650a302114ae619d37b8778ab66207a834 /decoder/incremental.cc
parent02099a01350a41a99ec400e9b29df08a01d88979 (diff)
parent0dc7755f7fb1ef15db5a60c70866aa61b6367898 (diff)
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'decoder/incremental.cc')
-rw-r--r--decoder/incremental.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/incremental.cc b/decoder/incremental.cc
index 85647a44..1537d61e 100644
--- a/decoder/incremental.cc
+++ b/decoder/incremental.cc
@@ -119,7 +119,7 @@ template <class Model> void Incremental<Model>::ConvertEdge(const search::Contex
float score = 0.0;
for (std::vector<WordID>::const_iterator word = e.begin(); word != e.end(); ++word) {
if (*word <= 0) {
- nts.push_back(vertices[in.tail_nodes_[-*word]].RootPartial());
+ nts.push_back(vertices[in.tail_nodes_[-*word]].RootAlternate());
if (nts.back().Empty()) return;
score += nts.back().Bound();
words.push_back(lm::kMaxWordIndex);