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-10-01 21:21:57 +0400
committerHieu Hoang <hieuhoang@gmail.com>2014-10-01 21:21:57 +0400
commit8611dc8cdf2a0a0395c09dc511f86a0267f46554 (patch)
tree87abccda75081daa726fe0bf0758ce83130908ec /moses/IOWrapper.h
parent8d0f74c6e4f67fb4e7f45bc130562ca2b7f3528b (diff)
merge TranslationTask and IOWrapper. Move m_nBestOutputCollector into IOWrapper
Diffstat (limited to 'moses/IOWrapper.h')
-rw-r--r--moses/IOWrapper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/moses/IOWrapper.h b/moses/IOWrapper.h
index 9fa2d901b..ceb7c6a34 100644
--- a/moses/IOWrapper.h
+++ b/moses/IOWrapper.h
@@ -135,6 +135,11 @@ public:
Moses::OutputCollector *GetSingleBestOutputCollector() {
return m_singleBestOutputCollector;
}
+
+ Moses::OutputCollector *GetNBestOutputCollector() {
+ return m_nBestOutputCollector;
+ }
+
};
IOWrapper *GetIOWrapper(const Moses::StaticData &staticData);