ConsistentPhrases Class Reference

#include <ConsistentPhrases.h>

List of all members.

Public Types

typedef std::set
< ConsistentPhrase * > 
Coll

Public Member Functions

 ConsistentPhrases ()
virtual ~ConsistentPhrases ()
void Initialize (size_t size)
void Add (int sourceStart, int sourceEnd, int targetStart, int targetEnd, const Parameter &params)
void AddHieroNonTerms (const Parameter &params)
const CollGetColl (int sourceStart, int sourceEnd) const
CollGetColl (int sourceStart, int sourceEnd)
std::string Debug () const

Protected Attributes

std::vector< std::vector< Coll > > m_coll


Detailed Description

Definition at line 17 of file ConsistentPhrases.h.


Member Typedef Documentation

Definition at line 20 of file ConsistentPhrases.h.


Constructor & Destructor Documentation

ConsistentPhrases::ConsistentPhrases (  ) 

Definition at line 16 of file ConsistentPhrases.cpp.

ConsistentPhrases::~ConsistentPhrases (  )  [virtual]

Definition at line 20 of file ConsistentPhrases.cpp.

References m_coll, and Moses::RemoveAllInColl().

Here is the call graph for this function:


Member Function Documentation

void ConsistentPhrases::Add ( int  sourceStart,
int  sourceEnd,
int  targetStart,
int  targetEnd,
const Parameter params 
)

Definition at line 42 of file ConsistentPhrases.cpp.

References m_coll.

Referenced by AlignedSentence::CreateConsistentPhrases().

Here is the caller graph for this function:

void ConsistentPhrases::AddHieroNonTerms ( const Parameter params  ) 

Definition at line 89 of file ConsistentPhrases.cpp.

References ConsistentPhrase::AddNonTerms(), Parameter::hieroNonTerm, and m_coll.

Referenced by AlignedSentence::Create().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string ConsistentPhrases::Debug (  )  const

Definition at line 69 of file ConsistentPhrases.cpp.

References ConsistentPhrase::Debug(), and m_coll.

Referenced by AlignedSentence::Debug().

Here is the call graph for this function:

Here is the caller graph for this function:

ConsistentPhrases::Coll & ConsistentPhrases::GetColl ( int  sourceStart,
int  sourceEnd 
)

Definition at line 62 of file ConsistentPhrases.cpp.

References m_coll.

const ConsistentPhrases::Coll & ConsistentPhrases::GetColl ( int  sourceStart,
int  sourceEnd 
) const

Definition at line 55 of file ConsistentPhrases.cpp.

References m_coll.

Referenced by AlignedSentenceSyntax::CreateNonTerms(), and Rules::Extend().

Here is the caller graph for this function:

void ConsistentPhrases::Initialize ( size_t  size  ) 

Definition at line 32 of file ConsistentPhrases.cpp.

References m_coll.

Referenced by AlignedSentence::CreateConsistentPhrases().

Here is the caller graph for this function:


Member Data Documentation

std::vector< std::vector<Coll> > ConsistentPhrases::m_coll [protected]


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

Generated on Thu Jul 6 00:31:46 2017 for Moses by  doxygen 1.5.9