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
diff options
context:
space:
mode:
authorTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 02:59:50 +0400
committerTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 02:59:50 +0400
commit4f6d022fe7fa6c8e3279de2221a24f11afd8f8ba (patch)
tree66351ea6c8c322d1614439eeebbdda4f97864781 /mert/CderScorer.h
parent888c47d9211a921d769419b9b62f23c161cf6930 (diff)
Add comments to mark the end of #define guards.
Diffstat (limited to 'mert/CderScorer.h')
-rw-r--r--mert/CderScorer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/mert/CderScorer.h b/mert/CderScorer.h
index 1a2989b9e..ed8e5da11 100644
--- a/mert/CderScorer.h
+++ b/mert/CderScorer.h
@@ -41,11 +41,11 @@ private:
vector<vector<sent_t> > ref_sentences;
vector<int> computeCD(const sent_t& cand, const sent_t& ref);
- int distance(int word1, int word2)
+ int distance(int word1, int word2)
{
- if (word1 == word2)
+ if (word1 == word2)
return 0;
- else
+ else
return 1;
}
@@ -56,4 +56,4 @@ private:
};
-#endif
+#endif // __CDERSCORER_H__