diff options
Diffstat (limited to 'moses/BaseManager.h')
-rw-r--r-- | moses/BaseManager.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/moses/BaseManager.h b/moses/BaseManager.h index d7a25e7fd..c24e41ad3 100644 --- a/moses/BaseManager.h +++ b/moses/BaseManager.h @@ -63,13 +63,16 @@ public: virtual void OutputSearchGraph(OutputCollector *collector) const = 0; virtual void OutputUnknowns(OutputCollector *collector) const = 0; virtual void OutputSearchGraphSLF() const = 0; - virtual void OutputSearchGraphHypergraph() const = 0; + // virtual void OutputSearchGraphHypergraph() const = 0; + virtual void OutputSearchGraphAsHypergraph(std::ostream& out) const; + virtual void OutputSearchGraphAsHypergraph(std::string const& fname, + size_t const precision) const; /*** * to be called after processing a sentence */ virtual void CalcDecoderStatistics() const = 0; - + }; } |