MosesTraining::Syntax::ScoreStsg::RuleGroup Class Reference

#include <RuleGroup.h>

List of all members.


struct  DistinctRule

Public Types

typedef std::vector
< DistinctRule >

Public Member Functions

ConstIterator Begin () const
ConstIterator End () const
const std::string & GetSource () const
int GetSize () const
int GetTotalCount () const
void SetNewSource (const StringPiece &source)
void AddRule (const StringPiece &target, const StringPiece &ntAlign, const StringPiece &fullAlign, int count, double treeScore)

Detailed Description

Definition at line 24 of file RuleGroup.h.

Member Typedef Documentation

Definition at line 38 of file RuleGroup.h.

Member Function Documentation

void MosesTraining::Syntax::ScoreStsg::RuleGroup::AddRule ( const StringPiece target,
const StringPiece ntAlign,
const StringPiece fullAlign,
int  count,
double  treeScore 

ConstIterator MosesTraining::Syntax::ScoreStsg::RuleGroup::Begin (  )  const [inline]

Definition at line 41 of file RuleGroup.h.

ConstIterator MosesTraining::Syntax::ScoreStsg::RuleGroup::End (  )  const [inline]

Definition at line 44 of file RuleGroup.h.

int MosesTraining::Syntax::ScoreStsg::RuleGroup::GetSize (  )  const [inline]

Definition at line 54 of file RuleGroup.h.

const std::string& MosesTraining::Syntax::ScoreStsg::RuleGroup::GetSource (  )  const [inline]

Definition at line 49 of file RuleGroup.h.

Referenced by MosesTraining::Syntax::ScoreStsg::ScoreStsg::Main().

Here is the caller graph for this function:

int MosesTraining::Syntax::ScoreStsg::RuleGroup::GetTotalCount (  )  const [inline]

Definition at line 59 of file RuleGroup.h.

void MosesTraining::Syntax::ScoreStsg::RuleGroup::SetNewSource ( const StringPiece source  ) 

Definition at line 10 of file RuleGroup.cpp.

References StringPiece::CopyToString().

Referenced by MosesTraining::Syntax::ScoreStsg::ScoreStsg::Main().

Here is the call graph for this function:

Here is the caller graph for this function:

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

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