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 16:40:31 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-11-09 16:40:31 +0300
commit32e29d6b8ad7134e514f849213be9d817033bb73 (patch)
tree3131bb045e9167fb3ad0370c9a4bd8e024fd9c10 /moses/TranslationOptionCollection.h
parentd0be56f8abcb6842a37daaf696ef4e84d25db9ea (diff)
Consistent naming: m_futureScore --> m_estimatedScore
Diffstat (limited to 'moses/TranslationOptionCollection.h')
-rw-r--r--moses/TranslationOptionCollection.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/TranslationOptionCollection.h b/moses/TranslationOptionCollection.h
index c6d0462a5..382cc29ef 100644
--- a/moses/TranslationOptionCollection.h
+++ b/moses/TranslationOptionCollection.h
@@ -68,7 +68,7 @@ protected:
ttaskwptr m_ttask; // that is and must be a weak pointer!
std::vector< std::vector< TranslationOptionList > > m_collection; /*< contains translation options */
InputType const &m_source; /*< reference to the input */
- SquareMatrix m_futureScore; /*< matrix of future costs for contiguous parts (span) of the input */
+ SquareMatrix m_estimatedScores; /*< matrix of future costs for contiguous parts (span) of the input */
const size_t m_maxNoTransOptPerCoverage; /*< maximum number of translation options per input span */
const float m_translationOptionThreshold; /*< threshold for translation options with regard to best option for input span */
std::vector<const Phrase*> m_unksrcs;
@@ -78,7 +78,7 @@ protected:
InputType const& src, size_t maxNoTransOptPerCoverage,
float translationOptionThreshold);
- void CalcFutureScore();
+ void CalcEstimatedScore();
//! Force a creation of a translation option where there are none for a particular source position.
void ProcessUnknownWord();
@@ -163,8 +163,8 @@ public:
//! returns future cost matrix for sentence
- inline virtual const SquareMatrix &GetFutureScore() const {
- return m_futureScore;
+ inline virtual const SquareMatrix &GetEstimatedScores() const {
+ return m_estimatedScores;
}
//! list of trans opt for a particular span