diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-08 18:03:01 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-08 18:03:01 +0400 |
commit | a60bbbf892c982c5a93549142166db0d654c7e11 (patch) | |
tree | 74d079d39207e108abd42fb852451046bee9adc9 /moses/DecodeStepTranslation.h | |
parent | 88f888f5344b51161ab66afc53033eb8c665d3fd (diff) |
consistently set source phrase in translation options as soon as the trans opt is created
Diffstat (limited to 'moses/DecodeStepTranslation.h')
-rw-r--r-- | moses/DecodeStepTranslation.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/DecodeStepTranslation.h b/moses/DecodeStepTranslation.h index e1477b3b2..c8957e24a 100644 --- a/moses/DecodeStepTranslation.h +++ b/moses/DecodeStepTranslation.h @@ -47,7 +47,7 @@ public: , PartialTranslOptColl &outputPartialTranslOptColl , TranslationOptionCollection *toc , bool adhereTableLimit - , const Phrase &src + , const Phrase &sourcePhrase , const TargetPhraseCollection *phraseColl) const; @@ -57,6 +57,7 @@ public: void ProcessInitialTranslation(const InputType &source , PartialTranslOptColl &outputPartialTranslOptColl , size_t startPos, size_t endPos, bool adhereTableLimit + , const Phrase &sourcePhrase , const TargetPhraseCollection *phraseColl) const; // legacy @@ -69,7 +70,7 @@ public: , PartialTranslOptColl &outputPartialTranslOptColl , TranslationOptionCollection *toc , bool adhereTableLimit - , const Phrase &src) const; + , const Phrase &sourcePhrase) const; private: // I'm not sure whether this actually works or not for binary phrase table. |