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:57:04 +0400
committerHieu Hoang <hieuhoang@gmail.com>2014-10-02 17:57:04 +0400
commitb907fb7492f8cc22937ef65aa5ac5e4de8a18800 (patch)
treea90cccb8326ac6e6984a96c82d1fa7cefd011c10 /moses-cmd
parentf8b762a6ec0030f79b4fee44c00692407dd9bfef (diff)
merge TranslationTask and IOWrapper. Move m_wordGraphCollector 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 db94c1de5..f78c71acd 100644
--- a/moses-cmd/Main.cpp
+++ b/moses-cmd/Main.cpp
@@ -173,12 +173,6 @@ int main(int argc, char** argv)
}
}
- // initialize stream for word graph (aka: output lattice)
- auto_ptr<OutputCollector> wordGraphCollector;
- if (staticData.GetOutputWordGraph()) {
- wordGraphCollector.reset(new OutputCollector(&(ioWrapper->GetOutputWordGraphStream())));
- }
-
#ifdef WITH_THREADS
ThreadPool pool(staticData.ThreadCount());
#endif
@@ -197,7 +191,6 @@ int main(int argc, char** argv)
TranslationTask* task =
new TranslationTask(lineCount,source, *ioWrapper,
latticeSamplesCollector.get(),
- wordGraphCollector.get(),
staticData.GetOutputSearchGraphSLF(),
hypergraphOutput);
// execute task