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>2012-04-26 00:44:05 +0400
committerTetsuo Kiso <tetsuo-s@is.naist.jp>2012-04-26 00:44:05 +0400
commit7d457f5049b1d9f33a733306bbb0103c48c0a7d0 (patch)
tree25d939a98b75076070190ded56175ca3c6fc02a6 /mert/Reference.h
parentde6297709e167d18d8130f49a84566cac4f36620 (diff)
Add TODO to mert/Reference.h.
Diffstat (limited to 'mert/Reference.h')
-rw-r--r--mert/Reference.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mert/Reference.h b/mert/Reference.h
index 15e7acd69..353a3311b 100644
--- a/mert/Reference.h
+++ b/mert/Reference.h
@@ -43,6 +43,8 @@ class Reference {
std::vector<size_t> m_length;
};
+// TODO(tetsuok): fix this function and related stuff.
+// "average" reference length should not be calculated at sentence-level unlike "closest".
inline int Reference::CalcAverage() const {
int total = 0;
for (size_t i = 0; i < m_length.size(); ++i) {