diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-10-02 17:18:12 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-10-02 17:18:12 +0400 |
commit | f8b762a6ec0030f79b4fee44c00692407dd9bfef (patch) | |
tree | d2bb88c15c72b6f3b4fc6f76b4f53b1bdacbdacd /moses-cmd | |
parent | c45967c9b4f10ab36157c33e048152eb9c74984b (diff) |
merge TranslationTask and IOWrapper. Move m_detailedTranslationCollector into IOWrapper
Diffstat (limited to 'moses-cmd')
-rw-r--r-- | moses-cmd/Main.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/moses-cmd/Main.cpp b/moses-cmd/Main.cpp index 4cb507610..db94c1de5 100644 --- a/moses-cmd/Main.cpp +++ b/moses-cmd/Main.cpp @@ -179,12 +179,6 @@ int main(int argc, char** argv) wordGraphCollector.reset(new OutputCollector(&(ioWrapper->GetOutputWordGraphStream()))); } - // initialize stram for details about the decoder run - auto_ptr<OutputCollector> detailedTranslationCollector; - if (staticData.IsDetailedTranslationReportingEnabled()) { - detailedTranslationCollector.reset(new OutputCollector(&(ioWrapper->GetDetailedTranslationReportingStream()))); - } - #ifdef WITH_THREADS ThreadPool pool(staticData.ThreadCount()); #endif @@ -204,7 +198,6 @@ int main(int argc, char** argv) new TranslationTask(lineCount,source, *ioWrapper, latticeSamplesCollector.get(), wordGraphCollector.get(), - detailedTranslationCollector.get(), staticData.GetOutputSearchGraphSLF(), hypergraphOutput); // execute task |