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>2015-02-19 15:27:23 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-02-19 15:27:23 +0300
commit32de07502217879f0d354ec810c8e669f4d45d3c (patch)
treefafdf8f63d9902e4fd2b45f05902faa5d65df996 /moses/TranslationOption.h
parent6d4bad0f78ede5bcf7eaaea1de584f42bce8e91f (diff)
beautify
Diffstat (limited to 'moses/TranslationOption.h')
-rw-r--r--moses/TranslationOption.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/moses/TranslationOption.h b/moses/TranslationOption.h
index a5effef88..ab84bf8e5 100644
--- a/moses/TranslationOption.h
+++ b/moses/TranslationOption.h
@@ -75,15 +75,16 @@ protected:
_ScoreCacheMap m_lexReorderingScores;
public:
- struct Better
- {
- bool operator()(TranslationOption const& a, TranslationOption const& b) const
- { return a.GetFutureScore() > b.GetFutureScore(); }
-
- bool operator()(TranslationOption const* a, TranslationOption const* b) const
- { return a->GetFutureScore() > b->GetFutureScore(); }
+ struct Better {
+ bool operator()(TranslationOption const& a, TranslationOption const& b) const {
+ return a.GetFutureScore() > b.GetFutureScore();
+ }
+
+ bool operator()(TranslationOption const* a, TranslationOption const* b) const {
+ return a->GetFutureScore() > b->GetFutureScore();
+ }
};
-
+
explicit TranslationOption(); // For initial hypo that does translate nothing