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 14:22:52 +0400
committerHieu Hoang <hieuhoang@gmail.com>2014-10-02 14:22:52 +0400
commit0843a2a901d0954e1886d1a95b1b36f34e5ccf7a (patch)
tree594062e28d0957a48b597a380835b8ee76b0f4f7 /moses-cmd
parent00365257faadb9573fb97f113a83615fc7f99e70 (diff)
merge TranslationTask and IOWrapper. Move m_alignmentInfoCollector 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 f5382bb4d..e00e1ee29 100644
--- a/moses-cmd/Main.cpp
+++ b/moses-cmd/Main.cpp
@@ -192,12 +192,6 @@ int main(int argc, char** argv)
detailedTranslationCollector.reset(new OutputCollector(&(ioWrapper->GetDetailedTranslationReportingStream())));
}
- // initialize stram for word alignment between input and output
- auto_ptr<OutputCollector> alignmentInfoCollector;
- if (!staticData.GetAlignmentOutputFile().empty()) {
- alignmentInfoCollector.reset(new OutputCollector(ioWrapper->GetAlignmentOutputStream()));
- }
-
#ifdef WITH_THREADS
ThreadPool pool(staticData.ThreadCount());
#endif
@@ -219,7 +213,6 @@ int main(int argc, char** argv)
wordGraphCollector.get(),
searchGraphCollector.get(),
detailedTranslationCollector.get(),
- alignmentInfoCollector.get(),
staticData.GetOutputSearchGraphSLF(),
hypergraphOutput);
// execute task