#include <Parser.h>
Public Types | |
typedef Parser< Callback > | Base |
typedef RuleTrieScope3 | RuleTrie |
Public Member Functions | |
Scope3Parser (PChart &, const RuleTrie &, std::size_t) | |
~Scope3Parser () | |
void | EnumerateHyperedges (const Range &, Callback &) |
Static Public Member Functions | |
static bool | RequiresCompressedChart () |
Definition at line 29 of file Parser.h.
typedef Parser<Callback> Moses::Syntax::S2T::Scope3Parser< Callback >::Base |
typedef RuleTrieScope3 Moses::Syntax::S2T::Scope3Parser< Callback >::RuleTrie |
Moses::Syntax::S2T::Scope3Parser< Callback >::Scope3Parser | ( | PChart & | chart, | |
const RuleTrie & | trie, | |||
std::size_t | maxChartSpan | |||
) | [inline] |
Definition at line 24 of file Parser-inl.h.
Moses::Syntax::S2T::Scope3Parser< Callback >::~Scope3Parser | ( | ) | [inline] |
Definition at line 35 of file Parser-inl.h.
void Moses::Syntax::S2T::Scope3Parser< Callback >::EnumerateHyperedges | ( | const Range & | range, | |
Callback & | callback | |||
) | [inline, virtual] |
Implements Moses::Syntax::S2T::Parser< Callback >.
Definition at line 42 of file Parser-inl.h.
References Moses::Syntax::S2T::TailLatticeBuilder::Build(), Moses::Syntax::S2T::SymbolRangeCalculator::Calc(), end, Moses::Range::GetEndPos(), Moses::Syntax::S2T::RuleTrieScope3::Node::GetLabelMap(), Moses::Range::GetStartPos(), Moses::Syntax::S2T::PatternApplicationTrie::m_node, Moses::Syntax::S2T::PatternApplicationTrie::ReadOffPatternApplicationKey(), and Moses::Syntax::S2T::TailLatticeSearcher< Callback >::Search().
static bool Moses::Syntax::S2T::Scope3Parser< Callback >::RequiresCompressedChart | ( | ) | [inline, static] |