diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-02 23:43:56 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-02 23:43:56 +0300 |
commit | 5a6328644721e05141593a1d3e0fd378a8d96561 (patch) | |
tree | 8b0146c8960697658cd40ebf423888c11d7a5416 /moses/server | |
parent | 33f4e9391537728d2e1e1638611f99db42e91567 (diff) |
Code cleanup and bug fix in (Base)Manager::OutputSurface:
Mark-up of unkown words in output.
Diffstat (limited to 'moses/server')
-rw-r--r-- | moses/server/TranslationRequest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/server/TranslationRequest.cpp b/moses/server/TranslationRequest.cpp index da33cae83..e60fb21f1 100644 --- a/moses/server/TranslationRequest.cpp +++ b/moses/server/TranslationRequest.cpp @@ -378,8 +378,9 @@ pack_hypothesis(const Moses::Manager& manager, vector<Hypothesis const* > const& // target string ostringstream target; BOOST_REVERSE_FOREACH(Hypothesis const* e, edges) { - manager.OutputSurface(target, *e, m_options.output.factor_order, - m_options.output.ReportSegmentation, m_options.output.ReportAllFactors); + manager.OutputSurface(target, *e); + // , m_options.output.factor_order, + // m_options.output.ReportSegmentation, m_options.output.ReportAllFactors); } XVERBOSE(1, "BEST TRANSLATION: " << *(manager.GetBestHypothesis()) << std::endl); // XVERBOSE(1,"SERVER TRANSLATION: " << target.str() << std::endl); |