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>2014-12-03 20:04:10 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-12-03 20:04:10 +0300
commitccbcc14ed863dc903bb8b2d84f5989ef806a0e75 (patch)
tree54af4d7b63bb27e48d6868a5413fbb83379afd06 /moses/IOWrapper.cpp
parent184e79f4d6943f1ada23ab1f8780cb1097e08121 (diff)
move OutputDetailedTranslationReport() to Managers
Diffstat (limited to 'moses/IOWrapper.cpp')
-rw-r--r--moses/IOWrapper.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/moses/IOWrapper.cpp b/moses/IOWrapper.cpp
index becde9b65..aa6b6401e 100644
--- a/moses/IOWrapper.cpp
+++ b/moses/IOWrapper.cpp
@@ -756,23 +756,6 @@ size_t IOWrapper::CalcSourceSize(const Moses::ChartHypothesis *hypo)
return ret;
}
-void IOWrapper::OutputDetailedTranslationReport(
- const ChartHypothesis *hypo,
- const Sentence &sentence,
- long translationId)
-{
- if (hypo == NULL) {
- return;
- }
- std::ostringstream out;
- ApplicationContext applicationContext;
-
- OutputTranslationOptions(out, applicationContext, hypo, sentence, translationId);
- UTIL_THROW_IF2(m_detailedTranslationCollector == NULL,
- "No ouput file for detailed reports specified");
- m_detailedTranslationCollector->Write(translationId, out.str());
-}
-
//DIMw
void IOWrapper::OutputDetailedAllTranslationReport(
const std::vector<boost::shared_ptr<Moses::ChartKBestExtractor::Derivation> > &nBestList,