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 const InputType &source
,PartialTranslOptColl &outputPartialTranslOptColl ,PartialTranslOptColl &outputPartialTranslOptColl
, size_t startPos, size_t endPos, bool adhereTableLimit) const , 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 /*! initialize list of partial translation options by applying the first translation step
* Ideally, this function should be in DecodeStepTranslation class * Ideally, this function should be in DecodeStepTranslation class
*/ */
void ProcessInitialTranslation(const InputType &source void ProcessInitialTranslationLegacy(const InputType &source
, PartialTranslOptColl &outputPartialTranslOptColl , PartialTranslOptColl &outputPartialTranslOptColl
, size_t startPos, size_t endPos, bool adhereTableLimit) const; , 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(); list <const DecodeStep* >::const_iterator iterStep = decodeGraph.begin();
const DecodeStep &decodeStep = **iterStep; const DecodeStep &decodeStep = **iterStep;
static_cast<const DecodeStepTranslation&>(decodeStep).ProcessInitialTranslation static_cast<const DecodeStepTranslation&>(decodeStep).ProcessInitialTranslationLegacy
(m_source, *oldPtoc (m_source, *oldPtoc
, startPos, endPos, adhereTableLimit ); , startPos, endPos, adhereTableLimit );