#include <Rule.h>
Public Member Functions | |
virtual | ~Rule () |
const Alignment & | GetAlignment () const |
virtual int | Scope () const =0 |
Static Protected Member Functions | |
static bool | PartitionOrderComp (const Node *, const Node *) |
static int | Scope (const std::vector< Symbol > &) |
Protected Attributes | |
Alignment | m_alignment |
Definition at line 39 of file Rule.h.
virtual MosesTraining::Syntax::GHKM::Rule::~Rule | ( | ) | [inline, virtual] |
const Alignment& MosesTraining::Syntax::GHKM::Rule::GetAlignment | ( | ) | const [inline] |
Definition at line 44 of file Rule.h.
References m_alignment.
Referenced by MosesTraining::Syntax::GHKM::StsgRuleWriter::Write(), and MosesTraining::Syntax::GHKM::ScfgRuleWriter::Write().
Definition at line 34 of file Rule.cpp.
References MosesTraining::Syntax::GHKM::Node::GetSpan().
Referenced by MosesTraining::Syntax::GHKM::ScfgRule::ScfgRule(), and MosesTraining::Syntax::GHKM::StsgRule::StsgRule().
int Rule::Scope | ( | const std::vector< Symbol > & | symbols | ) | [static, protected] |
virtual int MosesTraining::Syntax::GHKM::Rule::Scope | ( | ) | const [pure virtual] |
Implemented in MosesTraining::Syntax::GHKM::ScfgRule, and MosesTraining::Syntax::GHKM::StsgRule.
Definition at line 55 of file Rule.h.
Referenced by GetAlignment(), MosesTraining::Syntax::GHKM::ScfgRule::ScfgRule(), MosesTraining::Syntax::GHKM::StsgRule::StsgRule(), and MosesTraining::Syntax::GHKM::ScfgRule::UpdateSourceLabelCoocCounts().