diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-05-03 09:03:38 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-05-03 09:03:38 +0300 |
commit | 402b958d9069ff11df3e603f473ade9487bac481 (patch) | |
tree | 6577267aa03b3d121e87413d19a484210f0e1f5f /moses/TypeDef.h | |
parent | cc8c6b7b10abd8118014635609f7658f6a7a1857 (diff) |
some astyle version don't like prefixed commas
Diffstat (limited to 'moses/TypeDef.h')
-rw-r--r-- | moses/TypeDef.h | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/moses/TypeDef.h b/moses/TypeDef.h index 66536909f..366a9dc77 100644 --- a/moses/TypeDef.h +++ b/moses/TypeDef.h @@ -89,18 +89,18 @@ enum FactorDirection { }; enum DecodeType { - Translate - ,Generate + Translate, + Generate }; namespace LexReorderType { enum LexReorderType { // explain values - Backward - ,Forward - ,Bidirectional - ,Fe - ,F + Backward, + Forward, + Bidirectional, + Fe, + F }; } @@ -113,13 +113,13 @@ enum DistortionOrientationOptions { } enum InputTypeEnum { - SentenceInput = 0 - ,ConfusionNetworkInput = 1 - ,WordLatticeInput = 2 - ,TreeInputType = 3 - //,WordLatticeInput2 = 4 - , TabbedSentenceInput = 5 - ,ForestInputType = 6 + SentenceInput = 0, + ConfusionNetworkInput = 1, + WordLatticeInput = 2, + TreeInputType = 3, + //,WordLatticeInput2 = 4, + TabbedSentenceInput = 5, + ForestInputType = 6 }; enum XmlInputType { @@ -131,41 +131,41 @@ enum XmlInputType { }; enum DictionaryFind { - Best = 0 - ,All = 1 + Best = 0, + All = 1 }; // Note: StaticData uses SearchAlgorithm to determine whether the translation // model is phrase-based or syntax-based. If you add a syntax-based search // algorithm here then you should also update StaticData::IsSyntax(). enum SearchAlgorithm { - Normal = 0 - ,CubePruning = 1 + Normal = 0, + CubePruning = 1, //,CubeGrowing = 2 - ,CYKPlus = 3 - ,NormalBatch = 4 - ,ChartIncremental = 5 - ,SyntaxS2T = 6 - ,SyntaxT2S = 7 - ,SyntaxT2S_SCFG = 8 - ,SyntaxF2S = 9 - ,DefaultSearchAlgorithm = 777 // means: use StaticData.m_searchAlgorithm + CYKPlus = 3, + NormalBatch = 4, + ChartIncremental = 5, + SyntaxS2T = 6, + SyntaxT2S = 7, + SyntaxT2S_SCFG = 8, + SyntaxF2S = 9, + DefaultSearchAlgorithm = 777 // means: use StaticData.m_searchAlgorithm }; enum SourceLabelOverlap { - SourceLabelOverlapAdd = 0 - ,SourceLabelOverlapReplace = 1 - ,SourceLabelOverlapDiscard = 2 + SourceLabelOverlapAdd = 0, + SourceLabelOverlapReplace = 1, + SourceLabelOverlapDiscard = 2 }; enum WordAlignmentSort { - NoSort = 0 - ,TargetOrder = 1 + NoSort = 0, + TargetOrder = 1 }; enum FormatType { - MosesFormat - ,HieroFormat + MosesFormat, + HieroFormat }; enum S2TParsingAlgorithm { |