diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2013-05-11 17:13:26 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2013-05-11 17:13:26 +0400 |
commit | 981351758a394ea06ea22cdd810d0735a9af3c9b (patch) | |
tree | 5a6f98e9146e11c2b957500626b54ffb2059bf6a /moses/DecodeStepGeneration.cpp | |
parent | b75d19483341828c51a370eeff4ff89f807a6b42 (diff) |
delete class TranslationSystem
Diffstat (limited to 'moses/DecodeStepGeneration.cpp')
-rw-r--r-- | moses/DecodeStepGeneration.cpp | 7 |
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); |