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:
authorHieu Hoang <hieuhoang@gmail.com>2015-11-09 15:44:39 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-11-09 15:44:39 +0300
commitd0be56f8abcb6842a37daaf696ef4e84d25db9ea (patch)
treec46d4027f2eab57b2c196662d1b3950cc19456d2 /moses/TrellisPath.h
parent176573c0724a65be8c36e5b5c3890d201f936d63 (diff)
Consistent naming: total score -> m_futureScore
Diffstat (limited to 'moses/TrellisPath.h')
-rw-r--r--moses/TrellisPath.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TrellisPath.h b/moses/TrellisPath.h
index 1e6914a5c..1407f1281 100644
--- a/moses/TrellisPath.h
+++ b/moses/TrellisPath.h
@@ -70,7 +70,7 @@ public:
TrellisPath(const TrellisPath &copy, size_t edgeIndex, const Hypothesis *arc);
//! get score for this path throught trellis
- inline float GetTotalScore() const {
+ inline float GetFutureScore() const {
return m_totalScore;
}
@@ -113,7 +113,7 @@ inline std::ostream& operator<<(std::ostream& out, const TrellisPath& path)
out << edge->GetId() << " " << sourceRange.GetStartPos() << "-" << sourceRange.GetEndPos() << ", ";
}
// scores
- out << " total=" << path.GetTotalScore()
+ out << " total=" << path.GetFutureScore()
<< " " << path.GetScoreBreakdown()
<< std::endl;