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-06 00:33:59 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-12-06 00:33:59 +0300
commit4b10c59bea5284771e6a5219f28e38bd0e75f0d5 (patch)
treea70cbcc78bcb93923791d903a1f63a19f5317791 /moses/Manager.h
parent6a77fd0ce3f5d3d52a20c1be808f1f7a0ffcb63b (diff)
add OutputSearchGraphHypergraph() to API framework. Move m_source to BaseManager
Diffstat (limited to 'moses/Manager.h')
-rw-r--r--moses/Manager.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/moses/Manager.h b/moses/Manager.h
index 25fbed12d..8e948c9c2 100644
--- a/moses/Manager.h
+++ b/moses/Manager.h
@@ -111,7 +111,6 @@ private:
protected:
// data
-// InputType const& m_source; /**< source sentence to be translated */
TranslationOptionCollection *m_transOptColl; /**< pre-computed list of translation options for the phrases in this sentence */
Search *m_search;
@@ -146,7 +145,6 @@ protected:
void OutputWordGraph(std::ostream &outputWordGraphStream, const Hypothesis *hypo, size_t &linkId) const;
public:
- InputType const& m_source; /**< source sentence to be translated */
Manager(InputType const& source, SearchAlgorithm searchAlgorithm);
~Manager();
const TranslationOptionCollection* getSntTranslationOptions();
@@ -199,6 +197,7 @@ public:
void OutputWordGraph(OutputCollector *collector) const;
void OutputSearchGraph(OutputCollector *collector) const;
void OutputSearchGraphSLF() const;
+ void OutputSearchGraphHypergraph() const;
};