#include <TrainingTask.h>
Public Member Functions | |
~TrainingTask () | |
void | Run () |
Static Public Member Functions | |
static boost::shared_ptr < TrainingTask > | create (boost::shared_ptr< InputType > const &source) |
static boost::shared_ptr < TrainingTask > | create (boost::shared_ptr< InputType > const &source, boost::shared_ptr< IOWrapper > const &ioWrapper) |
static boost::shared_ptr < TrainingTask > | create (boost::shared_ptr< InputType > const &source, boost::shared_ptr< IOWrapper > const &ioWrapper, boost::shared_ptr< ContextScope > const &scope) |
Protected Member Functions | |
TrainingTask (boost::shared_ptr< Moses::InputType > const source, boost::shared_ptr< Moses::IOWrapper > const ioWrapper) |
Definition at line 16 of file TrainingTask.h.
Moses::TrainingTask::TrainingTask | ( | boost::shared_ptr< Moses::InputType > const | source, | |
boost::shared_ptr< Moses::IOWrapper > const | ioWrapper | |||
) | [inline, protected] |
Definition at line 20 of file TrainingTask.h.
Referenced by create().
Moses::TrainingTask::~TrainingTask | ( | ) | [inline] |
Definition at line 57 of file TrainingTask.h.
static boost::shared_ptr<TrainingTask> Moses::TrainingTask::create | ( | boost::shared_ptr< InputType > const & | source, | |
boost::shared_ptr< IOWrapper > const & | ioWrapper, | |||
boost::shared_ptr< ContextScope > const & | scope | |||
) | [inline, static] |
Definition at line 48 of file TrainingTask.h.
References TrainingTask().
static boost::shared_ptr<TrainingTask> Moses::TrainingTask::create | ( | boost::shared_ptr< InputType > const & | source, | |
boost::shared_ptr< IOWrapper > const & | ioWrapper | |||
) | [inline, static] |
Definition at line 38 of file TrainingTask.h.
References TrainingTask().
static boost::shared_ptr<TrainingTask> Moses::TrainingTask::create | ( | boost::shared_ptr< InputType > const & | source | ) | [inline, static] |
Definition at line 29 of file TrainingTask.h.
References TrainingTask().
void Moses::TrainingTask::Run | ( | ) | [inline, virtual] |
Translate one sentence gets called by main function implemented at end of this source file
Reimplemented from Moses::TranslationTask.
Definition at line 60 of file TrainingTask.h.
References Moses::StaticData::CleanUpAfterSentenceProcessing(), Moses::TranslationOptionCollection::CreateTranslationOptions(), Moses::StaticData::InitializeForInput(), Moses::StaticData::Instance(), and Moses::TranslationTask::m_source.