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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/moses/IOWrapper.h b/moses/IOWrapper.h
index b15fd631c..07acf6e77 100644
--- a/moses/IOWrapper.h
+++ b/moses/IOWrapper.h
@@ -63,6 +63,8 @@ POSSIBILITY OF SUCH DAMAGE.
#include "search/applied.hh"
+#include <boost/format.hpp>
+
namespace Moses
{
class ScoreComponentCollection;
@@ -119,6 +121,9 @@ protected:
size_t m_buffered_ahead; /// number of words buffered ahead
// For context-sensitive decoding:
// Number of context words ahead and before the current sentence.
+
+ std::string m_hypergraph_output_filepattern;
+
public:
IOWrapper();
~IOWrapper();
@@ -173,6 +178,8 @@ public:
m_inputStream = &input;
}
+ std::string GetHypergraphOutputFileName(size_t const id) const;
+
// post editing
std::ifstream *spe_src, *spe_trg, *spe_aln;