Classes | |
class | DerivationWriter |
class | Manager |
class | OovHandler |
class | StandardParserCallback |
class | EagerParserCallback |
class | Parser |
class | RecursiveCYKPlusParser |
class | Scope3Parser |
struct | PatternApplicationTrie |
struct | SymbolRange |
class | SymbolRangeCalculator |
class | TailLatticeBuilder |
class | TailLatticeSearcher |
class | PChart |
class | RuleTrie |
class | RuleTrieCreator |
class | RuleTrieCYKPlus |
class | RuleTrieLoader |
class | RuleTrieScope3 |
class | SChart |
Typedefs | |
typedef std::vector< const PatternApplicationTrie * > | PatternApplicationKey |
typedef boost::unordered_map < Word, std::vector< const PVertex * >, SymbolHasher, SymbolEqualityPred > | SentenceMap |
typedef std::vector < std::vector< std::vector < std::vector< const PVertex * > > > > | TailLattice |
Functions | |
void | PHyperedgeToSHyperedgeBundle (const PHyperedge &hyperedge, const SChart &schart, SHyperedgeBundle &bundle) |
typedef std::vector<const PatternApplicationTrie*> Moses::Syntax::S2T::PatternApplicationKey |
Definition at line 17 of file PatternApplicationTrie.h.
typedef boost::unordered_map<Word, std::vector<const PVertex *>, SymbolHasher, SymbolEqualityPred> Moses::Syntax::S2T::SentenceMap |
Definition at line 23 of file SentenceMap.h.
typedef std::vector<std::vector<std::vector<std::vector<const PVertex *> > > > Moses::Syntax::S2T::TailLattice |
Definition at line 28 of file TailLattice.h.
void Moses::Syntax::S2T::PHyperedgeToSHyperedgeBundle | ( | const PHyperedge & | hyperedge, | |
const SChart & | schart, | |||
SHyperedgeBundle & | bundle | |||
) | [inline] |
Definition at line 17 of file PHyperedgeToSHyperedgeBundle.h.
References Moses::Syntax::S2T::SChart::GetCell(), Moses::Range::GetEndPos(), Moses::Range::GetStartPos(), Moses::Word::IsNonTerminal(), Moses::Syntax::PHyperedge::label, Moses::Syntax::S2T::SChart::Cell::nonTerminalStacks, Moses::Syntax::PVertex::span, Moses::Syntax::SHyperedgeBundle::stacks, Moses::Syntax::PVertex::symbol, Moses::Syntax::PHyperedge::tail, Moses::Syntax::S2T::SChart::Cell::terminalStacks, Moses::Syntax::PLabel::translations, and Moses::Syntax::SHyperedgeBundle::translations.
Referenced by Moses::Syntax::S2T::EagerParserCallback::operator()(), and Moses::Syntax::S2T::StandardParserCallback::operator()().