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:
authorHieu Hoang <hieu@hoang.co.uk>2013-08-08 18:58:01 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-08 18:58:01 +0400
commit4b28daeed2ede54196d570e342546d0884adb28c (patch)
treefafa7bc3ede57a6e49a246edd975f237570837a0 /moses/TranslationOptionCollection.cpp
parenta60bbbf892c982c5a93549142166db0d654c7e11 (diff)
consistently set source phrase in translation options as soon as the trans opt is created
Diffstat (limited to 'moses/TranslationOptionCollection.cpp')
-rw-r--r--moses/TranslationOptionCollection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TranslationOptionCollection.cpp b/moses/TranslationOptionCollection.cpp
index e3be88974..2477b1a6a 100644
--- a/moses/TranslationOptionCollection.cpp
+++ b/moses/TranslationOptionCollection.cpp
@@ -453,7 +453,7 @@ void TranslationOptionCollection::CreateTranslationOptionsForRange(
, startPos, endPos, adhereTableLimit
, sourcePhrase, targetPhrases);
- SetInputPath(inputPath, *oldPtoc);
+ SetInputScore(inputPath, *oldPtoc);
// do rest of decode steps
int indexStep = 0;
@@ -519,7 +519,7 @@ void TranslationOptionCollection::CreateTranslationOptionsForRange(
}
}
-void TranslationOptionCollection::SetInputPath(const InputPath &inputPath, PartialTranslOptColl &oldPtoc)
+void TranslationOptionCollection::SetInputScore(const InputPath &inputPath, PartialTranslOptColl &oldPtoc)
{
const ScoreComponentCollection *inputScore = inputPath.GetInputScore();
if (inputScore == NULL) {