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:
Diffstat (limited to 'moses/TranslationModel/UG/sapt_pscore_cumulative_bias.h')
-rw-r--r--moses/TranslationModel/UG/sapt_pscore_cumulative_bias.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/TranslationModel/UG/sapt_pscore_cumulative_bias.h b/moses/TranslationModel/UG/sapt_pscore_cumulative_bias.h
index b195be290..fddc770fc 100644
--- a/moses/TranslationModel/UG/sapt_pscore_cumulative_bias.h
+++ b/moses/TranslationModel/UG/sapt_pscore_cumulative_bias.h
@@ -28,8 +28,9 @@ namespace sapt {
void
operator()(Bitext<Token> const& bt,
- PhrasePair<Token>& pp,
- std::vector<float> * dest = NULL) const
+ PhrasePair<Token>& pp,
+ ttasksptr const& ttask,
+ std::vector<float> * dest = NULL) const
{
if (!dest) dest = &pp.fvals;
(*dest)[this->m_index] = log(std::max(m_floor,pp.cum_bias));