#include <AlignmentGraph.h>
Public Member Functions | |
AlignmentGraph (const ParseTree *, const std::vector< std::string > &, const Alignment &) | |
~AlignmentGraph () | |
Node * | GetRoot () |
const std::vector< Node * > & | GetTargetNodes () |
void | ExtractMinimalRules (const Options &) |
void | ExtractComposedRules (const Options &) |
Definition at line 40 of file AlignmentGraph.h.
Moses::GHKM::AlignmentGraph::AlignmentGraph | ( | const ParseTree * | t, | |
const std::vector< std::string > & | s, | |||
const Alignment & | a | |||
) |
Definition at line 38 of file AlignmentGraph.cpp.
References Moses::GHKM::Node::AddChild(), Moses::GHKM::Node::AddParent(), and Moses::GHKM::SOURCE.
Moses::GHKM::AlignmentGraph::~AlignmentGraph | ( | ) |
Definition at line 76 of file AlignmentGraph.cpp.
void Moses::GHKM::AlignmentGraph::ExtractComposedRules | ( | const Options & | options | ) |
Definition at line 150 of file AlignmentGraph.cpp.
void Moses::GHKM::AlignmentGraph::ExtractMinimalRules | ( | const Options & | options | ) |
Definition at line 128 of file AlignmentGraph.cpp.
References Moses::GHKM::Node::AddRule(), Moses::GHKM::Node::GetSpan(), Moses::GHKM::Node::GetType(), Moses::GHKM::Subgraph::IsTrivial(), and Moses::GHKM::TREE.
Node* Moses::GHKM::AlignmentGraph::GetRoot | ( | ) | [inline] |
Definition at line 49 of file AlignmentGraph.h.
const std::vector<Node *>& Moses::GHKM::AlignmentGraph::GetTargetNodes | ( | ) | [inline] |
Definition at line 52 of file AlignmentGraph.h.