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:
authorHieu Hoang <hieuhoang@gmail.com>2015-11-09 15:44:39 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-11-09 15:44:39 +0300
commitd0be56f8abcb6842a37daaf696ef4e84d25db9ea (patch)
treec46d4027f2eab57b2c196662d1b3950cc19456d2 /moses/server
parent176573c0724a65be8c36e5b5c3890d201f936d63 (diff)
Consistent naming: total score -> m_futureScore
Diffstat (limited to 'moses/server')
-rw-r--r--moses/server/TranslationRequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/server/TranslationRequest.cpp b/moses/server/TranslationRequest.cpp
index 83463dcae..ec4d0fad0 100644
--- a/moses/server/TranslationRequest.cpp
+++ b/moses/server/TranslationRequest.cpp
@@ -205,7 +205,7 @@ outputNBest(const Manager& manager, map<string, xmlrpc_c::value>& retData)
}
// weighted score
- nBestXmlItem["totalScore"] = xmlrpc_c::value_double(path->GetTotalScore());
+ nBestXmlItem["totalScore"] = xmlrpc_c::value_double(path->GetFutureScore());
nBestXml.push_back(xmlrpc_c::value_struct(nBestXmlItem));
}
retData["nbest"] = xmlrpc_c::value_array(nBestXml);