diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-30 18:06:59 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-30 18:06:59 +0300 |
commit | c9d49f22a5016e8262cf6a780a07f5c6f50a344b (patch) | |
tree | 243590b68076e47d4ca4caf47437db74b4021f4d /moses/IOWrapper.cpp | |
parent | e92c2c0e0c045763a062b2956c900819f8484af0 (diff) |
move OutputAlignment() to Manager class
Diffstat (limited to 'moses/IOWrapper.cpp')
-rw-r--r-- | moses/IOWrapper.cpp | 15 |
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) { |