diff options
author | MosesAdmin <moses-support-owner@mit.edu> | 2015-12-09 03:00:35 +0300 |
---|---|---|
committer | MosesAdmin <moses-support-owner@mit.edu> | 2015-12-09 03:00:35 +0300 |
commit | 59365f2bd3f2ed6d7f77d7fee08ab6d2ac201750 (patch) | |
tree | efb8beb9aa968992fc63385d2343848fc834fe76 /moses/StaticData.h | |
parent | 2da95fe74a7a9f5388f7a57b1134a04881a908c7 (diff) |
daily automatic beautifier
Diffstat (limited to 'moses/StaticData.h')
-rw-r--r-- | moses/StaticData.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/moses/StaticData.h b/moses/StaticData.h index 3a575cdd8..b3786f321 100644 --- a/moses/StaticData.h +++ b/moses/StaticData.h @@ -229,63 +229,63 @@ public: return m_options; } - inline bool + inline bool GetSourceStartPosMattersForRecombination() const { return m_sourceStartPosMattersForRecombination; } - bool + bool IsWordDeletionEnabled() const { // return m_wordDeletionEnabled; return m_options.unk.word_deletion_enabled; } - int + int GetMaxDistortion() const { return m_options.reordering.max_distortion; } - bool + bool UseReorderingConstraint() const { return m_reorderingConstraint; } - bool + bool UseEarlyDiscarding() const { return m_options.search.early_discarding_threshold - != -std::numeric_limits<float>::infinity(); + != -std::numeric_limits<float>::infinity(); } - bool + bool UseEarlyDistortionCost() const { return m_options.reordering.use_early_distortion_cost; } - float + float GetTranslationOptionThreshold() const { return m_options.search.trans_opt_threshold; } - - size_t + + size_t GetVerboseLevel() const { return m_verboseLevel; } - void + void SetVerboseLevel(int x) const { m_verboseLevel = x; } - bool + bool UseMinphrInMemory() const { return m_minphrMemory; } - bool + bool UseMinlexrInMemory() const { return m_minlexrMemory; } - + bool IsSyntax(SearchAlgorithm algo = DefaultSearchAlgorithm) const { if (algo == DefaultSearchAlgorithm) algo = m_options.search.algo; |