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 <fishandfrolick@gmail.com>2013-05-11 17:13:26 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2013-05-11 17:13:26 +0400
commit981351758a394ea06ea22cdd810d0735a9af3c9b (patch)
tree5a6f98e9146e11c2b957500626b54ffb2059bf6a /moses/DecodeStepGeneration.cpp
parentb75d19483341828c51a370eeff4ff89f807a6b42 (diff)
delete class TranslationSystem
Diffstat (limited to 'moses/DecodeStepGeneration.cpp')
-rw-r--r--moses/DecodeStepGeneration.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/moses/DecodeStepGeneration.cpp b/moses/DecodeStepGeneration.cpp
index f1a532f03..f9827793a 100644
--- a/moses/DecodeStepGeneration.cpp
+++ b/moses/DecodeStepGeneration.cpp
@@ -59,8 +59,7 @@ inline void IncrementIterators(vector< WordListIterator > &wordListIterVector
}
}
-void DecodeStepGeneration::Process(const TranslationSystem* system
- , const TranslationOption &inputPartialTranslOpt
+void DecodeStepGeneration::Process(const TranslationOption &inputPartialTranslOpt
, const DecodeStep &decodeStep
, PartialTranslOptColl &outputPartialTranslOptColl
, TranslationOptionCollection * /* toc */
@@ -70,7 +69,7 @@ void DecodeStepGeneration::Process(const TranslationSystem* system
// word deletion
TranslationOption *newTransOpt = new TranslationOption(inputPartialTranslOpt);
- outputPartialTranslOptColl.Add(system, newTransOpt);
+ outputPartialTranslOptColl.Add(newTransOpt);
return;
}
@@ -151,7 +150,7 @@ void DecodeStepGeneration::Process(const TranslationSystem* system
TranslationOption *newTransOpt = new TranslationOption(sourceWordsRange, outPhrase);
assert(newTransOpt);
- outputPartialTranslOptColl.Add(system, newTransOpt);
+ outputPartialTranslOptColl.Add(newTransOpt);
// increment iterators
IncrementIterators(wordListIterVector, wordListVector);