Moses::Incremental::Manager Class Reference

#include <Incremental.h>

Inheritance diagram for Moses::Incremental::Manager:

Inheritance graph
[legend]
Collaboration diagram for Moses::Incremental::Manager:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Manager (ttasksptr const &ttask)
 ~Manager ()
template<class Model >
void LMCallback (const Model &model, const std::vector< lm::WordIndex > &words)
void Decode ()
const std::vector
< search::Applied > & 
GetNBest () const
const std::vector
< search::Applied > & 
Completed () const
void OutputBest (OutputCollector *collector) const
void OutputNBest (OutputCollector *collector) const
void OutputDetailedTranslationReport (OutputCollector *collector) const
void OutputNBestList (OutputCollector *collector, const std::vector< search::Applied > &nbest, long translationId) const
void OutputLatticeSamples (OutputCollector *collector) const
void OutputAlignment (OutputCollector *collector) const
void OutputDetailedTreeFragmentsTranslationReport (OutputCollector *collector) const
void OutputWordGraph (OutputCollector *collector) const
void OutputSearchGraph (OutputCollector *collector) const
void OutputSearchGraphSLF () const
void OutputSearchGraphAsHypergraph (std::string const &fname, size_t const precision) const


Detailed Description

Definition at line 25 of file Incremental.h.


Constructor & Destructor Documentation

Moses::Incremental::Manager::Manager ( ttasksptr const &  ttask  ) 

Definition at line 207 of file Incremental.cpp.

Moses::Incremental::Manager::~Manager (  ) 

Definition at line 214 of file Incremental.cpp.


Member Function Documentation

const std::vector<search::Applied>& Moses::Incremental::Manager::Completed (  )  const [inline]

Definition at line 39 of file Incremental.h.

Referenced by OutputDetailedTreeFragmentsTranslationReport().

Here is the caller graph for this function:

void Moses::Incremental::Manager::Decode (  )  [virtual]

Implements Moses::BaseManager.

Definition at line 292 of file Incremental.cpp.

References Moses::LanguageModel::GetFirstLM(), and Moses::LanguageModel::IncrementalCallback().

Here is the call graph for this function:

const std::vector< search::Applied > & Moses::Incremental::Manager::GetNBest (  )  const

Definition at line 297 of file Incremental.cpp.

Referenced by OutputBest().

Here is the caller graph for this function:

template<class Model >
void Moses::Incremental::Manager::LMCallback ( const Model model,
const std::vector< lm::WordIndex > &  words 
) [inline]

Definition at line 262 of file Incremental.cpp.

References search::NBest::Extract(), Moses::StaticData::Instance(), nbest(), and Moses::StaticData::options().

Referenced by Moses::LanguageModelKen< Model >::IncrementalCallback().

Here is the call graph for this function:

Here is the caller graph for this function:

void Moses::Incremental::Manager::OutputAlignment ( OutputCollector collector  )  const [inline, virtual]

Implements Moses::BaseManager.

Definition at line 50 of file Incremental.h.

void Moses::Incremental::Manager::OutputBest ( OutputCollector collector  )  const [virtual]

Implements Moses::BaseManager.

Definition at line 302 of file Incremental.cpp.

References GetNBest(), Moses::InputType::GetTranslationId(), Moses::BaseManager::m_source, and nbest().

Here is the call graph for this function:

void Moses::Incremental::Manager::OutputDetailedTranslationReport ( OutputCollector collector  )  const [virtual]

Implements Moses::BaseManager.

Definition at line 364 of file Incremental.cpp.

References Moses::InputType::GetTranslationId(), and Moses::BaseManager::m_source.

Here is the call graph for this function:

void Moses::Incremental::Manager::OutputDetailedTreeFragmentsTranslationReport ( OutputCollector collector  )  const [virtual]

Implements Moses::BaseManager.

Definition at line 456 of file Incremental.cpp.

References Completed(), Moses::InputType::GetTranslationId(), Moses::BaseManager::m_source, NULL, and Moses::OutputCollector::Write().

Here is the call graph for this function:

void Moses::Incremental::Manager::OutputLatticeSamples ( OutputCollector collector  )  const [inline, virtual]

Implements Moses::BaseManager.

Definition at line 48 of file Incremental.h.

void Moses::Incremental::Manager::OutputNBest ( OutputCollector collector  )  const [virtual]

Implements Moses::BaseManager.

Definition at line 315 of file Incremental.cpp.

References Moses::InputType::GetTranslationId(), Moses::BaseManager::m_source, NULL, and OutputNBestList().

Here is the call graph for this function:

void Moses::Incremental::Manager::OutputNBestList ( OutputCollector collector,
const std::vector< search::Applied > &  nbest,
long  translationId 
) const

void Moses::Incremental::Manager::OutputSearchGraph ( OutputCollector collector  )  const [inline, virtual]

Implements Moses::BaseManager.

Definition at line 55 of file Incremental.h.

void Moses::Incremental::Manager::OutputSearchGraphAsHypergraph ( std::string const &  fname,
size_t const   precision 
) const [inline, virtual]

Reimplemented from Moses::BaseManager.

Definition at line 62 of file Incremental.h.

void Moses::Incremental::Manager::OutputSearchGraphSLF (  )  const [inline, virtual]

Implements Moses::BaseManager.

Definition at line 57 of file Incremental.h.

void Moses::Incremental::Manager::OutputWordGraph ( OutputCollector collector  )  const [inline, virtual]

Implements Moses::BaseManager.

Definition at line 53 of file Incremental.h.


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

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