#include <Manager.h>


Public Member Functions | |
| Manager (ttasksptr const &ttask) | |
| void | Decode () |
| const SHyperedge * | GetBestSHyperedge () const |
| void | ExtractKBest (std::size_t k, std::vector< boost::shared_ptr< KBestExtractor::Derivation > > &kBestList, bool onlyDistinct=false) const |
| void | OutputDetailedTranslationReport (OutputCollector *collector) const |
Definition at line 30 of file Manager.h.
| Moses::Syntax::S2T::Manager< Parser >::Manager | ( | ttasksptr const & | ttask | ) | [inline] |
| void Moses::Syntax::S2T::Manager< Parser >::Decode | ( | ) | [inline, virtual] |
Implements Moses::BaseManager.
Definition at line 161 of file Manager-inl.h.
References Moses::Syntax::S2T::PChart::AddVertex(), Moses::Syntax::BoundedPriorityContainer< T >::Begin(), count, Moses::Syntax::BoundedPriorityContainer< T >::End(), end, Moses::Syntax::S2T::SChart::GetCell(), Moses::InputType::GetSize(), Moses::TargetPhrase::GetTargetLHS(), Moses::Syntax::SHyperedge::head, Moses::Syntax::SHyperedge::label, Moses::BaseManager::m_source, Moses::Syntax::S2T::SChart::Cell::nonTerminalStacks, Moses::BaseManager::options(), Moses::Syntax::SVertex::pvertex, range, and Moses::Syntax::SLabel::translation.

| void Moses::Syntax::S2T::Manager< Parser >::ExtractKBest | ( | std::size_t | k, | |
| std::vector< boost::shared_ptr< KBestExtractor::Derivation > > & | kBestList, | |||
| bool | onlyDistinct = false | |||
| ) | const [inline, virtual] |
Implements Moses::Syntax::Manager.
Definition at line 270 of file Manager-inl.h.
References Moses::Syntax::NonTerminalMap< T >::Begin(), Moses::Syntax::KBestExtractor::Extract(), Moses::Syntax::S2T::SChart::GetCell(), Moses::Syntax::KBestExtractor::GetOutputPhrase(), Moses::InputType::GetSize(), Moses::StaticData::Instance(), Moses::BaseManager::m_source, Moses::Syntax::S2T::SChart::Cell::nonTerminalStacks, Moses::StaticData::options(), and Moses::Syntax::NonTerminalMap< T >::Size().

| const SHyperedge * Moses::Syntax::S2T::Manager< Parser >::GetBestSHyperedge | ( | ) | const [inline, virtual] |
Implements Moses::Syntax::Manager.
Definition at line 256 of file Manager-inl.h.
References Moses::Syntax::NonTerminalMap< T >::Begin(), Moses::Syntax::S2T::SChart::GetCell(), Moses::InputType::GetSize(), Moses::BaseManager::m_source, Moses::Syntax::S2T::SChart::Cell::nonTerminalStacks, and Moses::Syntax::NonTerminalMap< T >::Size().
Referenced by Moses::Syntax::S2T::Manager< Parser >::OutputDetailedTranslationReport().


| void Moses::Syntax::S2T::Manager< Parser >::OutputDetailedTranslationReport | ( | OutputCollector * | collector | ) | const [inline, virtual] |
Reimplemented from Moses::Syntax::Manager.
Definition at line 393 of file Manager-inl.h.
References Moses::Syntax::S2T::Manager< Parser >::GetBestSHyperedge(), Moses::InputType::GetTranslationId(), Moses::BaseManager::m_source, NULL, Moses::OutputCollector::Write(), and Moses::Syntax::S2T::DerivationWriter::Write().

1.5.9