diff options
author | MosesAdmin <moses-support-owner@mit.edu> | 2015-11-20 03:00:42 +0300 |
---|---|---|
committer | MosesAdmin <moses-support-owner@mit.edu> | 2015-11-20 03:00:42 +0300 |
commit | bf209a35a305f77722251efa2d83364344e5cda0 (patch) | |
tree | a6a61a117136c5328a395b3c01fa00e3db465eab /moses/FF | |
parent | a7f0a6b918f2cc40650551da874adc3904754721 (diff) |
daily automatic beautifier
Diffstat (limited to 'moses/FF')
-rw-r--r-- | moses/FF/SkeletonStatefulFF.cpp | 6 | ||||
-rw-r--r-- | moses/FF/SkeletonStatefulFF.h | 30 | ||||
-rw-r--r-- | moses/FF/StatefulFeatureFunction.h | 16 |
3 files changed, 26 insertions, 26 deletions
diff --git a/moses/FF/SkeletonStatefulFF.cpp b/moses/FF/SkeletonStatefulFF.cpp index 0af74aabd..2acaf2d2e 100644 --- a/moses/FF/SkeletonStatefulFF.cpp +++ b/moses/FF/SkeletonStatefulFF.cpp @@ -17,7 +17,7 @@ SkeletonStatefulFF::SkeletonStatefulFF(const std::string &line) // An empty implementation of this function is provided by StatefulFeatureFunction. -// Unless you are actually implementing this, please remove it from your +// Unless you are actually implementing this, please remove it from your // implementation (and the declaration in the header file to reduce code clutter. void SkeletonStatefulFF::EvaluateInIsolation(const Phrase &source , const TargetPhrase &targetPhrase @@ -26,7 +26,7 @@ void SkeletonStatefulFF::EvaluateInIsolation(const Phrase &source {} // An empty implementation of this function is provided by StatefulFeatureFunction. -// Unless you are actually implementing this, please remove it from your +// Unless you are actually implementing this, please remove it from your // implementation (and the declaration in the header file to reduce code clutter. void SkeletonStatefulFF::EvaluateWithSourceContext(const InputType &input , const InputPath &inputPath @@ -37,7 +37,7 @@ void SkeletonStatefulFF::EvaluateWithSourceContext(const InputType &input {} // An empty implementation of this function is provided by StatefulFeatureFunction. -// Unless you are actually implementing this, please remove it from your +// Unless you are actually implementing this, please remove it from your // implementation (and the declaration in the header file to reduce code clutter. void SkeletonStatefulFF::EvaluateTranslationOptionListWithSourceContext (const InputType &input, const TranslationOptionList &translationOptionList) const diff --git a/moses/FF/SkeletonStatefulFF.h b/moses/FF/SkeletonStatefulFF.h index 196dcd27c..7544ddd30 100644 --- a/moses/FF/SkeletonStatefulFF.h +++ b/moses/FF/SkeletonStatefulFF.h @@ -38,32 +38,32 @@ public: } // An empty implementation of this function is provided by StatefulFeatureFunction. - // Unless you are actually implementing this, please remove this declaration here + // Unless you are actually implementing this, please remove this declaration here // and the empty skeleton implementation from the corresponding .cpp // file to reduce code clutter. - void + void EvaluateInIsolation(const Phrase &source - , const TargetPhrase &targetPhrase - , ScoreComponentCollection &scoreBreakdown - , ScoreComponentCollection &estimatedScores) const; - + , const TargetPhrase &targetPhrase + , ScoreComponentCollection &scoreBreakdown + , ScoreComponentCollection &estimatedScores) const; + // An empty implementation of this function is provided by StatefulFeatureFunction. - // Unless you are actually implementing this, please remove this declaration here + // Unless you are actually implementing this, please remove this declaration here // and the empty skeleton implementation from the corresponding .cpp // file to reduce code clutter. - void + void EvaluateWithSourceContext(const InputType &input - , const InputPath &inputPath - , const TargetPhrase &targetPhrase - , const StackVec *stackVec - , ScoreComponentCollection &scoreBreakdown - , ScoreComponentCollection *estimatedScores = NULL) const; + , const InputPath &inputPath + , const TargetPhrase &targetPhrase + , const StackVec *stackVec + , ScoreComponentCollection &scoreBreakdown + , ScoreComponentCollection *estimatedScores = NULL) const; // An empty implementation of this function is provided by StatefulFeatureFunction. - // Unless you are actually implementing this, please remove this declaration here + // Unless you are actually implementing this, please remove this declaration here // and the empty skeleton implementation from the corresponding .cpp // file to reduce code clutter. - void + void EvaluateTranslationOptionListWithSourceContext ( const InputType &input , const TranslationOptionList &translationOptionList) const; diff --git a/moses/FF/StatefulFeatureFunction.h b/moses/FF/StatefulFeatureFunction.h index 3f4e6f85e..ac9527108 100644 --- a/moses/FF/StatefulFeatureFunction.h +++ b/moses/FF/StatefulFeatureFunction.h @@ -66,20 +66,20 @@ public: return false; } - - virtual void + + virtual void EvaluateInIsolation - (Phrase const& source, TargetPhrase const& targetPhrase, - ScoreComponentCollection &scoreBreakdown, + (Phrase const& source, TargetPhrase const& targetPhrase, + ScoreComponentCollection &scoreBreakdown, ScoreComponentCollection &estimatedScores) const {} - virtual void + virtual void EvaluateWithSourceContext - (InputType const&input, InputPath const& inputPath, TargetPhrase const& targetPhrase, + (InputType const&input, InputPath const& inputPath, TargetPhrase const& targetPhrase, StackVec const* stackVec, ScoreComponentCollection &scoreBreakdown, ScoreComponentCollection *estimatedFutureScore = NULL) const {} - - virtual void + + virtual void EvaluateTranslationOptionListWithSourceContext (const InputType &input, const TranslationOptionList &translationOptionList) const {} |