#include <AlignmentGraph.h>
Public Member Functions | |
AlignmentGraph (const SyntaxTree *, 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 41 of file AlignmentGraph.h.
MosesTraining::GHKM::AlignmentGraph::AlignmentGraph | ( | const SyntaxTree * | t, | |
const std::vector< std::string > & | s, | |||
const Alignment & | a | |||
) |
Definition at line 40 of file AlignmentGraph.cpp.
References MosesTraining::GHKM::Node::AddChild(), MosesTraining::GHKM::Node::AddParent(), MosesTraining::GHKM::SOURCE, and src.
MosesTraining::GHKM::AlignmentGraph::~AlignmentGraph | ( | ) |
Definition at line 78 of file AlignmentGraph.cpp.
void MosesTraining::GHKM::AlignmentGraph::ExtractComposedRules | ( | const Options & | options | ) |
Definition at line 152 of file AlignmentGraph.cpp.
void MosesTraining::GHKM::AlignmentGraph::ExtractMinimalRules | ( | const Options & | options | ) |
Definition at line 130 of file AlignmentGraph.cpp.
References MosesTraining::GHKM::Node::AddRule(), MosesTraining::GHKM::Node::GetSpan(), MosesTraining::GHKM::Node::GetType(), MosesTraining::GHKM::Subgraph::IsTrivial(), and MosesTraining::GHKM::TREE.
Node* MosesTraining::GHKM::AlignmentGraph::GetRoot | ( | ) | [inline] |
Definition at line 50 of file AlignmentGraph.h.
const std::vector<Node *>& MosesTraining::GHKM::AlignmentGraph::GetTargetNodes | ( | ) | [inline] |
Definition at line 53 of file AlignmentGraph.h.