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:
Diffstat (limited to 'moses/IOWrapper.h')
-rw-r--r--moses/IOWrapper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/moses/IOWrapper.h b/moses/IOWrapper.h
index ceb7c6a34..98e4305eb 100644
--- a/moses/IOWrapper.h
+++ b/moses/IOWrapper.h
@@ -79,10 +79,13 @@ protected:
,*m_outputWordGraphStream,*m_outputSearchGraphStream;
std::ostream *m_detailedTranslationReportingStream;
std::ofstream *m_alignmentOutputStream;
+ std::ostream *m_unknownsStream;
+
bool m_surpressSingleBestOutput;
Moses::OutputCollector *m_singleBestOutputCollector;
Moses::OutputCollector *m_nBestOutputCollector;
+ Moses::OutputCollector *m_unknownsCollector;
void Initialization(const std::vector<Moses::FactorType> &inputFactorOrder
, const std::vector<Moses::FactorType> &outputFactorOrder
@@ -140,6 +143,9 @@ public:
return m_nBestOutputCollector;
}
+ Moses::OutputCollector *GetUnknownsCollector() {
+ return m_unknownsCollector;
+ }
};
IOWrapper *GetIOWrapper(const Moses::StaticData &staticData);