MosesTraining::GHKM::Rule Class Reference

#include <Rule.h>

Inheritance diagram for MosesTraining::GHKM::Rule:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~Rule ()
const AlignmentGetAlignment () 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


Detailed Description

Definition at line 37 of file Rule.h.


Constructor & Destructor Documentation

virtual MosesTraining::GHKM::Rule::~Rule (  )  [inline, virtual]

Definition at line 40 of file Rule.h.


Member Function Documentation

const Alignment& MosesTraining::GHKM::Rule::GetAlignment (  )  const [inline]

Definition at line 42 of file Rule.h.

References m_alignment.

Referenced by MosesTraining::GHKM::StsgRuleWriter::Write(), and MosesTraining::GHKM::ScfgRuleWriter::Write().

Here is the caller graph for this function:

bool Rule::PartitionOrderComp ( const Node a,
const Node b 
) [static, protected]

Definition at line 32 of file Rule.cpp.

References MosesTraining::GHKM::Node::GetSpan().

Referenced by MosesTraining::GHKM::ScfgRule::ScfgRule(), and MosesTraining::GHKM::StsgRule::StsgRule().

Here is the call graph for this function:

Here is the caller graph for this function:

int Rule::Scope ( const std::vector< Symbol > &  symbols  )  [static, protected]

Definition at line 11 of file Rule.cpp.

References MosesTraining::GHKM::NonTerminal.

virtual int MosesTraining::GHKM::Rule::Scope (  )  const [pure virtual]


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Mon Jul 6 00:34:24 2015 for Moses by  doxygen 1.5.9