diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-01-14 14:07:42 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-01-14 14:07:42 +0300 |
commit | 05ead45e71916c5763c5c4b6375e2ca6838f3995 (patch) | |
tree | c279bd4aacfb31758720ffbaf5aaf62022574a52 /moses/Incremental.h | |
parent | 91cb549ccf09fc33122f3d531f47c38ad0e99b3d (diff) |
beautify
Diffstat (limited to 'moses/Incremental.h')
-rw-r--r-- | moses/Incremental.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/moses/Incremental.h b/moses/Incremental.h index 9e4d52396..c1f5e40b3 100644 --- a/moses/Incremental.h +++ b/moses/Incremental.h @@ -44,19 +44,19 @@ public: void OutputNBest(OutputCollector *collector) const; void OutputDetailedTranslationReport(OutputCollector *collector) const; void OutputNBestList(OutputCollector *collector, const std::vector<search::Applied> &nbest, long translationId) const; - void OutputLatticeSamples(OutputCollector *collector) const - {} - void OutputAlignment(OutputCollector *collector) const - {} + void OutputLatticeSamples(OutputCollector *collector) const { + } + void OutputAlignment(OutputCollector *collector) const { + } void OutputDetailedTreeFragmentsTranslationReport(OutputCollector *collector) const; - void OutputWordGraph(OutputCollector *collector) const - {} - void OutputSearchGraph(OutputCollector *collector) const - {} - void OutputSearchGraphSLF() const - {} - void OutputSearchGraphHypergraph() const - {} + void OutputWordGraph(OutputCollector *collector) const { + } + void OutputSearchGraph(OutputCollector *collector) const { + } + void OutputSearchGraphSLF() const { + } + void OutputSearchGraphHypergraph() const { + } private: @@ -77,35 +77,35 @@ private: // outputs void OutputDetailedTranslationReport( - OutputCollector *collector, + OutputCollector *collector, + const search::Applied *applied, + const Sentence &sentence, + long translationId) const; + void OutputTranslationOptions(std::ostream &out, + ApplicationContext &applicationContext, + const search::Applied *applied, + const Sentence &sentence, + long translationId) const; + void OutputTranslationOption(std::ostream &out, + ApplicationContext &applicationContext, + const search::Applied *applied, + const Sentence &sentence, + long translationId) const; + void ReconstructApplicationContext(const search::Applied *applied, + const Sentence &sentence, + ApplicationContext &context) const; + void OutputTreeFragmentsTranslationOptions(std::ostream &out, + ApplicationContext &applicationContext, const search::Applied *applied, const Sentence &sentence, long translationId) const; - void OutputTranslationOptions(std::ostream &out, - ApplicationContext &applicationContext, - const search::Applied *applied, - const Sentence &sentence, - long translationId) const; - void OutputTranslationOption(std::ostream &out, - ApplicationContext &applicationContext, - const search::Applied *applied, - const Sentence &sentence, - long translationId) const; - void ReconstructApplicationContext(const search::Applied *applied, - const Sentence &sentence, - ApplicationContext &context) const; - void OutputTreeFragmentsTranslationOptions(std::ostream &out, - ApplicationContext &applicationContext, - const search::Applied *applied, - const Sentence &sentence, - long translationId) const; - void OutputBestHypo(OutputCollector *collector, search::Applied applied, long translationId) const; - void OutputBestNone(OutputCollector *collector, long translationId) const; - - void OutputUnknowns(OutputCollector *collector) const - {} - void CalcDecoderStatistics() const - {} + void OutputBestHypo(OutputCollector *collector, search::Applied applied, long translationId) const; + void OutputBestNone(OutputCollector *collector, long translationId) const; + + void OutputUnknowns(OutputCollector *collector) const { + } + void CalcDecoderStatistics() const { + } }; |