Moses::GHKM::ScfgRule Class Reference

#include <ScfgRule.h>

Collaboration diagram for Moses::GHKM::ScfgRule:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ScfgRule (const Subgraph &fragment)
const SymbolGetSourceLHS () const
const SymbolGetTargetLHS () const
const std::vector< Symbol > & GetSourceRHS () const
const std::vector< Symbol > & GetTargetRHS () const
const AlignmentGetAlignment () const
float GetPcfgScore () const
int Scope () const


Detailed Description

Definition at line 55 of file ScfgRule.h.


Constructor & Destructor Documentation

Moses::GHKM::ScfgRule::ScfgRule ( const Subgraph fragment  ) 


Member Function Documentation

const Alignment& Moses::GHKM::ScfgRule::GetAlignment (  )  const [inline]

Definition at line 72 of file ScfgRule.h.

Referenced by Moses::GHKM::ScfgRuleWriter::Write().

Here is the caller graph for this function:

float Moses::GHKM::ScfgRule::GetPcfgScore (  )  const [inline]

Definition at line 75 of file ScfgRule.h.

Referenced by Moses::GHKM::ScfgRuleWriter::Write().

Here is the caller graph for this function:

const Symbol& Moses::GHKM::ScfgRule::GetSourceLHS (  )  const [inline]

Definition at line 60 of file ScfgRule.h.

const std::vector<Symbol>& Moses::GHKM::ScfgRule::GetSourceRHS (  )  const [inline]

Definition at line 66 of file ScfgRule.h.

const Symbol& Moses::GHKM::ScfgRule::GetTargetLHS (  )  const [inline]

Definition at line 63 of file ScfgRule.h.

const std::vector<Symbol>& Moses::GHKM::ScfgRule::GetTargetRHS (  )  const [inline]

Definition at line 69 of file ScfgRule.h.

int Moses::GHKM::ScfgRule::Scope (  )  const

Definition at line 117 of file ScfgRule.cpp.

References Moses::GHKM::NonTerminal.

Referenced by Moses::GHKM::ExtractGHKM::Main().

Here is the caller graph for this function:


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

Generated on Thu Jun 4 00:32:51 2015 for Moses by  doxygen 1.5.9