diff options
Diffstat (limited to 'moses/TranslationModel/UG/sapt_pscore_wordcount.h')
-rw-r--r-- | moses/TranslationModel/UG/sapt_pscore_wordcount.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/TranslationModel/UG/sapt_pscore_wordcount.h b/moses/TranslationModel/UG/sapt_pscore_wordcount.h index 6cd9e7c0c..e1747f380 100644 --- a/moses/TranslationModel/UG/sapt_pscore_wordcount.h +++ b/moses/TranslationModel/UG/sapt_pscore_wordcount.h @@ -22,8 +22,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] = pp.len2; |