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
diff options
context:
space:
mode:
authorredpony <redpony@1f5c12ca-751b-0410-a591-d2e778427230>2006-07-18 17:09:20 +0400
committerredpony <redpony@1f5c12ca-751b-0410-a591-d2e778427230>2006-07-18 17:09:20 +0400
commit8f15e5608c57d204366f9f7609d7ed99096a6f37 (patch)
tree0c602d949197e5059b0639fdf4fd92dff4767c93 /moses
parent9257c64c07dbb1aa92dd8daef446a1b159e7fb26 (diff)
add comment to remind myself of the work i need to do
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@169 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses')
-rw-r--r--moses/src/TargetPhrase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/moses/src/TargetPhrase.cpp b/moses/src/TargetPhrase.cpp
index 2e56ca9ab..7a5e22476 100644
--- a/moses/src/TargetPhrase.cpp
+++ b/moses/src/TargetPhrase.cpp
@@ -34,6 +34,9 @@ TargetPhrase::TargetPhrase(FactorDirection direction, const PhraseDictionary *ph
{
}
+// TODO the two versions of SetScore have two problems:
+// 1) they are badly named- computePhraseScores would probably be better
+// 2) they duplicate way too much code between them
void TargetPhrase::SetScore(const LMList &languageModels, float weightWP)
{ // used when creating translations of unknown words:
m_transScore = m_ngramScore = 0;