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-04 19:25:19 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-12-04 19:25:19 +0300
commitc5fdb170fbe82213dc123b7b892ded7d32695d2c (patch)
tree00610370daccd6a94c3668ad666831b567b398b0 /moses/IOWrapper.cpp
parentd5e315a599196f40229ab05cd5ab49fbd8ec100d (diff)
move OutputUnknowns() into Managers
Diffstat (limited to 'moses/IOWrapper.cpp')
-rw-r--r--moses/IOWrapper.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/moses/IOWrapper.cpp b/moses/IOWrapper.cpp
index ea7846e48..d246195ad 100644
--- a/moses/IOWrapper.cpp
+++ b/moses/IOWrapper.cpp
@@ -671,17 +671,6 @@ void IOWrapper::OutputDetailedAllTranslationReport(
m_detailedTranslationCollector->Write(translationId, out.str());
}
-void IOWrapper::OutputUnknowns(const std::vector<Moses::Phrase*> &unknowns,
- long translationId)
-{
- std::ostringstream out;
- for (std::size_t i = 0; i < unknowns.size(); ++i) {
- out << *(unknowns[i]);
- }
- out << std::endl;
- m_unknownsCollector->Write(translationId, out.str());
-}
-
//////////////////////////////////////////////////////////////////////////
/***
* print surface factor only for the given phrase
@@ -1053,17 +1042,5 @@ void IOWrapper::OutputBestHypo(const Syntax::SHyperedge *best,
m_singleBestOutputCollector->Write(translationId, out.str());
}
-void IOWrapper::OutputUnknowns(const std::set<Moses::Word> &unknowns,
- long translationId)
-{
- std::ostringstream out;
- for (std::set<Moses::Word>::const_iterator p = unknowns.begin();
- p != unknowns.end(); ++p) {
- out << *p;
- }
- out << std::endl;
- m_unknownsCollector->Write(translationId, out.str());
-}
-
} // namespace