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-12-30 18:06:59 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-12-30 18:06:59 +0300
commitc9d49f22a5016e8262cf6a780a07f5c6f50a344b (patch)
tree243590b68076e47d4ca4caf47437db74b4021f4d /moses/IOWrapper.cpp
parente92c2c0e0c045763a062b2956c900819f8484af0 (diff)
move OutputAlignment() to Manager class
Diffstat (limited to 'moses/IOWrapper.cpp')
-rw-r--r--moses/IOWrapper.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/moses/IOWrapper.cpp b/moses/IOWrapper.cpp
index a5a2e1fdb..e69bb3542 100644
--- a/moses/IOWrapper.cpp
+++ b/moses/IOWrapper.cpp
@@ -391,21 +391,6 @@ void IOWrapper::WriteApplicationContext(std::ostream &out,
}
}
-void IOWrapper::OutputAlignment(OutputCollector* collector, size_t lineNo , const vector<const Hypothesis *> &edges)
-{
- ostringstream out;
- Hypothesis::OutputAlignment(out, edges);
-
- collector->Write(lineNo,out.str());
-}
-
-void IOWrapper::OutputAlignment(OutputCollector* collector, size_t lineNo , const TrellisPath &path)
-{
- if (collector) {
- OutputAlignment(collector,lineNo, path.GetEdges());
- }
-}
-
void IOWrapper::Backtrack(const Hypothesis *hypo)
{