mark a function as legacy

This commit is contained in:
Hieu Hoang 2013-08-06 14:43:02 +01:00
parent d3f1f7e0d6
commit 5ec67ea71b
3 changed files with 3 additions and 3 deletions

View File

@ -156,7 +156,7 @@ void DecodeStepTranslation::Process(const TranslationOption &inputPartialTranslO
}
void DecodeStepTranslation::ProcessInitialTranslation(
void DecodeStepTranslation::ProcessInitialTranslationLegacy(
const InputType &source
,PartialTranslOptColl &outputPartialTranslOptColl
, size_t startPos, size_t endPos, bool adhereTableLimit) const

View File

@ -59,7 +59,7 @@ public:
/*! initialize list of partial translation options by applying the first translation step
* Ideally, this function should be in DecodeStepTranslation class
*/
void ProcessInitialTranslation(const InputType &source
void ProcessInitialTranslationLegacy(const InputType &source
, PartialTranslOptColl &outputPartialTranslOptColl
, size_t startPos, size_t endPos, bool adhereTableLimit) const;

View File

@ -199,7 +199,7 @@ void TranslationOptionCollectionConfusionNet::CreateTranslationOptionsForRangeLe
list <const DecodeStep* >::const_iterator iterStep = decodeGraph.begin();
const DecodeStep &decodeStep = **iterStep;
static_cast<const DecodeStepTranslation&>(decodeStep).ProcessInitialTranslation
static_cast<const DecodeStepTranslation&>(decodeStep).ProcessInitialTranslationLegacy
(m_source, *oldPtoc
, startPos, endPos, adhereTableLimit );