Moses::DecodeStepTranslation Class Reference

subclass of DecodeStep for translation step More...

#include <DecodeStepTranslation.h>

Inheritance diagram for Moses::DecodeStepTranslation:

Inheritance graph
[legend]
Collaboration diagram for Moses::DecodeStepTranslation:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DecodeStepTranslation ()
 DecodeStepTranslation (PhraseDictionary *phraseFeature, const DecodeStep *prev, const std::vector< FeatureFunction * > &features)
 not implemented
virtual void Process (const TranslationOption &inputPartialTranslOpt, const DecodeStep &decodeStep, PartialTranslOptColl &outputPartialTranslOptColl, TranslationOptionCollection *toc, bool adhereTableLimit, TargetPhraseCollection::shared_ptr phraseColl) const
void ProcessInitialTranslation (const InputType &source, PartialTranslOptColl &outputPartialTranslOptColl, size_t startPos, size_t endPos, bool adhereTableLimit, const InputPath &inputPath, TargetPhraseCollection::shared_ptr phraseColl) const
void ProcessInitialTransLEGACY (InputType const &source, PartialTranslOptColl &outputPartialTranslOptColl, size_t startPos, size_t endPos, bool adhereTableLimit, InputPathList const &inputPathList) const
void ProcessLEGACY (const TranslationOption &inputPartialTranslOpt, const DecodeStep &decodeStep, PartialTranslOptColl &outputPartialTranslOptColl, TranslationOptionCollection *toc, bool adhereTableLimit) const


Detailed Description

subclass of DecodeStep for translation step

Definition at line 37 of file DecodeStepTranslation.h.


Constructor & Destructor Documentation

Moses::DecodeStepTranslation::DecodeStepTranslation (  ) 

Moses::DecodeStepTranslation::DecodeStepTranslation ( PhraseDictionary phraseFeature,
const DecodeStep prev,
const std::vector< FeatureFunction * > &  features 
)

not implemented

Definition at line 33 of file DecodeStepTranslation.cpp.

References Moses::PhraseDictionary::GetFeaturesToApply(), and Moses::DecodeStep::RemoveFeature().

Here is the call graph for this function:


Member Function Documentation

void Moses::DecodeStepTranslation::Process ( const TranslationOption inputPartialTranslOpt,
const DecodeStep decodeStep,
PartialTranslOptColl outputPartialTranslOptColl,
TranslationOptionCollection toc,
bool  adhereTableLimit,
TargetPhraseCollection::shared_ptr  phraseColl 
) const [virtual]

void Moses::DecodeStepTranslation::ProcessInitialTranslation ( const InputType source,
PartialTranslOptColl outputPartialTranslOptColl,
size_t  startPos,
size_t  endPos,
bool  adhereTableLimit,
const InputPath inputPath,
TargetPhraseCollection::shared_ptr  phraseColl 
) const

initialize list of partial translation options by applying the first translation step Ideally, this function should be in DecodeStepTranslation class

Definition at line 105 of file DecodeStepTranslation.cpp.

References Moses::PartialTranslOptColl::Add(), Moses::DecodeStep::GetPhraseDictionaryFeature(), Moses::InputType::GetSubString(), Moses::PhraseDictionary::GetTableLimit(), Moses::InputType::GetType(), IFVERBOSE, NULL, range, Moses::SentenceInput, Moses::TranslationOption::SetInputPath(), TRACE_ERR, and VERBOSE.

Here is the call graph for this function:

void Moses::DecodeStepTranslation::ProcessInitialTransLEGACY ( InputType const &  source,
PartialTranslOptColl outputPartialTranslOptColl,
size_t  startPos,
size_t  endPos,
bool  adhereTableLimit,
InputPathList const &  inputPathList 
) const

void Moses::DecodeStepTranslation::ProcessLEGACY ( const TranslationOption inputPartialTranslOpt,
const DecodeStep decodeStep,
PartialTranslOptColl outputPartialTranslOptColl,
TranslationOptionCollection toc,
bool  adhereTableLimit 
) const


The documentation for this class was generated from the following files:

Generated on Thu Jul 6 00:32:59 2017 for Moses by  doxygen 1.5.9