diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-05-13 13:29:16 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-05-13 13:29:16 +0300 |
commit | 5173b9f6172cb695461b00826da935c2b2907c78 (patch) | |
tree | 1e39253453f4eef9934f5df5f342ade079fea9ed /moses/StaticData.h | |
parent | 0859e9a844cc23ff04b09b4ac3d580da9197d1a1 (diff) |
beautify. Add sed for trailing spaces
Diffstat (limited to 'moses/StaticData.h')
-rw-r--r-- | moses/StaticData.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/moses/StaticData.h b/moses/StaticData.h index 20b8f1506..7e71f0881 100644 --- a/moses/StaticData.h +++ b/moses/StaticData.h @@ -301,7 +301,9 @@ public: } const ContextParameters& - GetContextParameters() const { return m_context_parameters; } + GetContextParameters() const { + return m_context_parameters; + } const std::vector<FactorType> &GetInputFactorOrder() const { return m_inputFactorOrder; @@ -449,15 +451,15 @@ public: } bool IsNBestEnabled() const { - return (!m_nBestFilePath.empty() || m_mbr || m_useLatticeMBR || m_mira || - m_outputSearchGraph || m_outputSearchGraphSLF || - m_outputSearchGraphHypergraph || m_useConsensusDecoding || + return (!m_nBestFilePath.empty() || m_mbr || m_useLatticeMBR || m_mira || + m_outputSearchGraph || m_outputSearchGraphSLF || + m_outputSearchGraphHypergraph || m_useConsensusDecoding || #ifdef HAVE_PROTOBUF - m_outputSearchGraphPB || + m_outputSearchGraphPB || #endif - !m_latticeSamplesFilePath.empty()); + !m_latticeSamplesFilePath.empty()); } - + size_t GetLatticeSamplesSize() const { return m_latticeSamplesSize; } |