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
path: root/moses/FF
diff options
context:
space:
mode:
authorMosesAdmin <moses-support-owner@mit.edu>2016-08-13 02:00:39 +0300
committerMosesAdmin <moses-support-owner@mit.edu>2016-08-13 02:00:39 +0300
commitfbd2f221ad4b3d5d43931809c0f431710985b411 (patch)
tree20b29cb2cb8b74fc91d57704e8b2b7c328672f07 /moses/FF
parent950c7de4589cc7c6484d346fa595ae91cb54094c (diff)
daily automatic beautifier
Diffstat (limited to 'moses/FF')
-rw-r--r--moses/FF/PhraseDistanceFeature.cpp10
-rw-r--r--moses/FF/PhraseDistanceFeature.h3
2 files changed, 6 insertions, 7 deletions
diff --git a/moses/FF/PhraseDistanceFeature.cpp b/moses/FF/PhraseDistanceFeature.cpp
index b399ccc6c..0544ec9fb 100644
--- a/moses/FF/PhraseDistanceFeature.cpp
+++ b/moses/FF/PhraseDistanceFeature.cpp
@@ -21,11 +21,11 @@ PhraseDistanceFeature::PhraseDistanceFeature(const string &line)
}
void PhraseDistanceFeature::EvaluateWithSourceContext(const InputType &input
- , const InputPath &inputPath
- , const TargetPhrase &targetPhrase
- , const StackVec *stackVec
- , ScoreComponentCollection &scoreBreakdown
- , ScoreComponentCollection *estimatedScores) const
+ , const InputPath &inputPath
+ , const TargetPhrase &targetPhrase
+ , const StackVec *stackVec
+ , ScoreComponentCollection &scoreBreakdown
+ , ScoreComponentCollection *estimatedScores) const
{
vector<float> scores(m_numScoreComponents, 0);
bool broken = false;
diff --git a/moses/FF/PhraseDistanceFeature.h b/moses/FF/PhraseDistanceFeature.h
index b411289cb..8c9e1a361 100644
--- a/moses/FF/PhraseDistanceFeature.h
+++ b/moses/FF/PhraseDistanceFeature.h
@@ -7,8 +7,7 @@ namespace Moses
class PhraseDistanceFeature : public StatelessFeatureFunction
{
- enum Measure
- {
+ enum Measure {
EuclideanDistance,
TotalVariationDistance,
};