summaryrefslogtreecommitdiff
path: root/dtrain/score.cc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2012-03-13 09:15:46 +0100
committerPatrick Simianer <p@simianer.de>2012-03-13 09:15:46 +0100
commit867bca3e5fa0cdd63bf032e5859fb5092d9a4ca1 (patch)
tree8504e2343429e8063ff645a6f7e30dd02df02c2a /dtrain/score.cc
parent07ab389e9f4034faebc2ad50146456223f5ab6bf (diff)
polish
Diffstat (limited to 'dtrain/score.cc')
-rw-r--r--dtrain/score.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/dtrain/score.cc b/dtrain/score.cc
index f5e920a0..4cde638a 100644
--- a/dtrain/score.cc
+++ b/dtrain/score.cc
@@ -11,7 +11,7 @@ namespace dtrain
* of Machine Translation"
* (Papineni et al. '02)
*
- * NOTE: 0 if one n in {1..N} has 0 count
+ * NOTE: 0 if for one n \in {1..N} count is 0
*/
score_t
BleuScorer::Bleu(NgramCounts& counts, const unsigned hyp_len, const unsigned ref_len)
@@ -96,6 +96,8 @@ SmoothBleuScorer::Score(vector<WordID>& hyp, vector<WordID>& ref,
* as in "Online Large-Margin Training of Syntactic
* and Structural Translation Features"
* (Chiang et al. '08)
+ *
+ * NOTE: needs some code in dtrain.cc
*/
score_t
ApproxBleuScorer::Score(vector<WordID>& hyp, vector<WordID>& ref,