diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-30 16:50:00 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-30 16:50:00 +0300 |
commit | e92c2c0e0c045763a062b2956c900819f8484af0 (patch) | |
tree | 778a344f2d5ed816c118937cd28bdc0dcaf35918 /moses/IOWrapper.cpp | |
parent | ba166f109cc1bda482e32ba490905d769dc1b9ae (diff) |
delete unused methods from IOWrapper
Diffstat (limited to 'moses/IOWrapper.cpp')
-rw-r--r-- | moses/IOWrapper.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/moses/IOWrapper.cpp b/moses/IOWrapper.cpp index 950fdbfbd..a5a2e1fdb 100644 --- a/moses/IOWrapper.cpp +++ b/moses/IOWrapper.cpp @@ -399,20 +399,6 @@ void IOWrapper::OutputAlignment(OutputCollector* collector, size_t lineNo , cons collector->Write(lineNo,out.str()); } -void IOWrapper::OutputAlignment(OutputCollector* collector, size_t lineNo , const Hypothesis *hypo) -{ - if (collector) { - std::vector<const Hypothesis *> edges; - const Hypothesis *currentHypo = hypo; - while (currentHypo) { - edges.push_back(currentHypo); - currentHypo = currentHypo->GetPrevHypo(); - } - - OutputAlignment(collector,lineNo, edges); - } -} - void IOWrapper::OutputAlignment(OutputCollector* collector, size_t lineNo , const TrellisPath &path) { if (collector) { |