MosesTraining::Syntax::GHKM::Rule Class Reference

#include <Rule.h>

Inheritance diagram for MosesTraining::Syntax::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 39 of file Rule.h.


Constructor & Destructor Documentation

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

Definition at line 42 of file Rule.h.


Member Function Documentation

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().

Here is the caller graph for this function:

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

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().

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 13 of file Rule.cpp.

References MosesTraining::Syntax::GHKM::NonTerminal.

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


Member Data Documentation


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

Generated on Thu Jul 6 00:34:11 2017 for Moses by  doxygen 1.5.9