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 15:20:49 +0400
committerHieu Hoang <hieuhoang@gmail.com>2014-10-02 15:20:49 +0400
commitc45967c9b4f10ab36157c33e048152eb9c74984b (patch)
tree48b1d3fcd5f3b72c88abdf47d0cc26a0df0f986a /moses-cmd
parent0843a2a901d0954e1886d1a95b1b36f34e5ccf7a (diff)
merge TranslationTask and IOWrapper. Move m_searchGraphOutputCollector into IOWrapper
Diffstat (limited to 'moses-cmd')
-rw-r--r--moses-cmd/Main.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/moses-cmd/Main.cpp b/moses-cmd/Main.cpp
index e00e1ee29..4cb507610 100644
--- a/moses-cmd/Main.cpp
+++ b/moses-cmd/Main.cpp
@@ -179,13 +179,6 @@ int main(int argc, char** argv)
wordGraphCollector.reset(new OutputCollector(&(ioWrapper->GetOutputWordGraphStream())));
}
- // initialize stream for search graph
- // note: this is essentially the same as above, but in a different format
- auto_ptr<OutputCollector> searchGraphCollector;
- if (staticData.GetOutputSearchGraph()) {
- searchGraphCollector.reset(new OutputCollector(&(ioWrapper->GetOutputSearchGraphStream())));
- }
-
// initialize stram for details about the decoder run
auto_ptr<OutputCollector> detailedTranslationCollector;
if (staticData.IsDetailedTranslationReportingEnabled()) {
@@ -211,7 +204,6 @@ int main(int argc, char** argv)
new TranslationTask(lineCount,source, *ioWrapper,
latticeSamplesCollector.get(),
wordGraphCollector.get(),
- searchGraphCollector.get(),
detailedTranslationCollector.get(),
staticData.GetOutputSearchGraphSLF(),
hypergraphOutput);