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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-07-31 19:07:13 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-07-31 19:07:13 +0300
commitbfeb3bf66bab44dcb5321edbac4cd467e4d8c49e (patch)
treefc06b4f9fec3690a8ec7034e42f4ec7a16a38cbe /moses/server
parentecfc8d8b1a0b0dd385d9391624586176acd0f2bc (diff)
Reporting of context parameter in TranslationRequest constructor.
Diffstat (limited to 'moses/server')
-rw-r--r--moses/server/TranslationRequest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/moses/server/TranslationRequest.cpp b/moses/server/TranslationRequest.cpp
index 5c23bbf13..72cd2b405 100644
--- a/moses/server/TranslationRequest.cpp
+++ b/moses/server/TranslationRequest.cpp
@@ -275,6 +275,7 @@ parse_request(std::map<std::string, xmlrpc_c::value> const& params)
si = params.find("context");
if (si != params.end()) {
string context = xmlrpc_c::value_string(si->second);
+ VERBOSE(1,"CONTEXT " << context);
m_context.reset(new std::vector<std::string>(1,context));
}
// // biased sampling for suffix-array-based sampling phrase table?