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-07 14:37:40 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-07 14:37:40 +0400
commita1f5167f85c7e17bcadd88aeffb3bf5f36cf20bc (patch)
tree66e3c0d1c3038d721dcec5e6b4dbdefbd445c4ed /moses/DecodeStepTranslation.cpp
parent66d4c2b0be0a41bb7eca5734913add627a193b7b (diff)
get ready to delete source phrase from TargetPhrase class
Diffstat (limited to 'moses/DecodeStepTranslation.cpp')
-rw-r--r--moses/DecodeStepTranslation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/DecodeStepTranslation.cpp b/moses/DecodeStepTranslation.cpp
index 12b36b75b..4208cc839 100644
--- a/moses/DecodeStepTranslation.cpp
+++ b/moses/DecodeStepTranslation.cpp
@@ -232,7 +232,7 @@ void DecodeStepTranslation::ProcessInitialTranslationLegacy(
const InputPath &DecodeStepTranslation::GetInputPathLegacy(const TargetPhrase targetPhrase,
const InputPathList &inputPathList) const
{
- const Phrase &phraseFromTP = targetPhrase.GetSourcePhrase();
+ const Phrase &phraseFromTP = targetPhrase.GetSourcePhraseAA();
const Word &wordTP = phraseFromTP.GetWord(0);
InputPathList::const_iterator iter;