diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-10-31 15:50:52 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-10-31 15:50:52 +0300 |
commit | 324c378f7fc54f02a8ea264915d3eade867ff23d (patch) | |
tree | 2bb934fee448845b0524427d437c871e7118ac2c /moses/DecodeStepTranslation.h | |
parent | dc8ad899454bd82408c6a371d5f50e497ede0caa (diff) |
Options refactoring. Moses crashed in server mode when asked to provide n-best translations with scores.
Diffstat (limited to 'moses/DecodeStepTranslation.h')
-rw-r--r-- | moses/DecodeStepTranslation.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/moses/DecodeStepTranslation.h b/moses/DecodeStepTranslation.h index eceebb940..25af693eb 100644 --- a/moses/DecodeStepTranslation.h +++ b/moses/DecodeStepTranslation.h @@ -61,10 +61,13 @@ public: , TargetPhraseCollection::shared_ptr phraseColl) const; // legacy - void ProcessInitialTranslationLEGACY(const InputType &source - , PartialTranslOptColl &outputPartialTranslOptColl - , size_t startPos, size_t endPos, bool adhereTableLimit - , const InputPathList &inputPathList) const; + void + ProcessInitialTransLEGACY(InputType const& source, + PartialTranslOptColl &outputPartialTranslOptColl, + size_t startPos, size_t endPos, + bool adhereTableLimit, + InputPathList const& inputPathList) const; + void ProcessLEGACY(const TranslationOption &inputPartialTranslOpt , const DecodeStep &decodeStep , PartialTranslOptColl &outputPartialTranslOptColl |