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:
authorPrashant Mathur <pramathur@ebay.com>2016-11-08 22:45:33 +0300
committerPrashant Mathur <pramathur@ebay.com>2016-11-08 22:45:33 +0300
commit318c3b9b2848d4f3b645817c76dc39a394b2f9a9 (patch)
tree85e0d4377ab56746a86fbad8bed919f2581ea4ef
parent85dca3a4da417d0736422d9b9c334bed113cbdcd (diff)
Interpret xml tags before translating in server mode.
-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 6f6fed1cf..7b3aa8c06 100644
--- a/moses/server/TranslationRequest.cpp
+++ b/moses/server/TranslationRequest.cpp
@@ -326,6 +326,7 @@ parse_request(std::map<std::string, xmlrpc_c::value> const& params)
} else {
m_source.reset(new Sentence(m_options,0,m_source_string));
}
+ interpret_dlt();
} // end of Translationtask::parse_request()