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-05 20:23:08 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-12-05 20:23:08 +0300
commit0d8e20980eed5f6fcefe89584dc5995e39b091a2 (patch)
treeb76a3d1f70dff8e15d7a9208d7664d959e4671c8 /moses/Manager.h
parent38102061d26c022e0deb5f082422a344748dc5fd (diff)
move OutputWordGraph() and OutputSearchGraph() into Managers
Diffstat (limited to 'moses/Manager.h')
-rw-r--r--moses/Manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/moses/Manager.h b/moses/Manager.h
index 3b09b6f0d..7a99fe122 100644
--- a/moses/Manager.h
+++ b/moses/Manager.h
@@ -143,6 +143,8 @@ protected:
void OutputAlignment(OutputCollector* collector, size_t lineNo , const std::vector<const Hypothesis *> &edges) const;
void OutputAlignment(std::ostream &out, const std::vector<const Hypothesis *> &edges) const;
+ 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);
@@ -194,6 +196,8 @@ public:
void OutputUnknowns(OutputCollector *collector) const;
void OutputDetailedTreeFragmentsTranslationReport(OutputCollector *collector) const
{}
+ void OutputWordGraph(OutputCollector *collector) const;
+ void OutputSearchGraph(OutputCollector *collector) const;
};