mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
mark a function as legacy
This commit is contained in:
parent
d3f1f7e0d6
commit
5ec67ea71b
@ -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
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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 );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user