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-10-02 17:18:12 +0400
committerHieu Hoang <hieuhoang@gmail.com>2014-10-02 17:18:12 +0400
commitf8b762a6ec0030f79b4fee44c00692407dd9bfef (patch)
treed2bb88c15c72b6f3b4fc6f76b4f53b1bdacbdacd /moses-cmd
parentc45967c9b4f10ab36157c33e048152eb9c74984b (diff)
merge TranslationTask and IOWrapper. Move m_detailedTranslationCollector into IOWrapper
Diffstat (limited to 'moses-cmd')
-rw-r--r--moses-cmd/Main.cpp7
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