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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-10-31 15:50:52 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-10-31 15:50:52 +0300
commit324c378f7fc54f02a8ea264915d3eade867ff23d (patch)
tree2bb934fee448845b0524427d437c871e7118ac2c /moses/DecodeStepTranslation.h
parentdc8ad899454bd82408c6a371d5f50e497ede0caa (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.h11
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