Moses::TrainingTask Class Reference

#include <TrainingTask.h>

Inheritance diagram for Moses::TrainingTask:

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

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

Definition at line 16 of file TrainingTask.h.


Constructor & Destructor Documentation

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().

Here is the caller graph for this function:

Moses::TrainingTask::~TrainingTask (  )  [inline]

Definition at line 57 of file TrainingTask.h.


Member Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:


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

Generated on Thu Jul 6 00:33:37 2017 for Moses by  doxygen 1.5.9