MosesTraining::SentenceAlignmentWithSyntax Class Reference

#include <SentenceAlignmentWithSyntax.h>

Inheritance diagram for MosesTraining::SentenceAlignmentWithSyntax:

Inheritance graph
[legend]
Collaboration diagram for MosesTraining::SentenceAlignmentWithSyntax:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SentenceAlignmentWithSyntax (std::set< std::string > &tgtLabelColl, std::set< std::string > &srcLabelColl, std::map< std::string, int > &tgtTopLabelColl, std::map< std::string, int > &srcTopLabelColl, bool targetSyntax, bool sourceSyntax)
virtual ~SentenceAlignmentWithSyntax ()
bool processTargetSentence (const char *, int, bool boundaryRules)
bool processSourceSentence (const char *, int, bool boundaryRules)

Public Attributes

SyntaxNodeCollection targetTree
SyntaxNodeCollection sourceTree
std::set< std::string > & m_targetLabelCollection
std::set< std::string > & m_sourceLabelCollection
std::map< std::string, int > & m_targetTopLabelCollection
std::map< std::string, int > & m_sourceTopLabelCollection
const bool m_targetSyntax
const bool m_sourceSyntax


Detailed Description

Definition at line 34 of file SentenceAlignmentWithSyntax.h.


Constructor & Destructor Documentation

MosesTraining::SentenceAlignmentWithSyntax::SentenceAlignmentWithSyntax ( std::set< std::string > &  tgtLabelColl,
std::set< std::string > &  srcLabelColl,
std::map< std::string, int > &  tgtTopLabelColl,
std::map< std::string, int > &  srcTopLabelColl,
bool  targetSyntax,
bool  sourceSyntax 
) [inline]

Definition at line 45 of file SentenceAlignmentWithSyntax.h.

virtual MosesTraining::SentenceAlignmentWithSyntax::~SentenceAlignmentWithSyntax (  )  [inline, virtual]

Definition at line 59 of file SentenceAlignmentWithSyntax.h.


Member Function Documentation

bool MosesTraining::SentenceAlignmentWithSyntax::processSourceSentence ( const char *  sourceString,
int  sentenceID,
bool  boundaryRules 
) [virtual]

bool MosesTraining::SentenceAlignmentWithSyntax::processTargetSentence ( const char *  targetString,
int  sentenceID,
bool  boundaryRules 
) [virtual]


Member Data Documentation

Definition at line 40 of file SentenceAlignmentWithSyntax.h.

Referenced by processSourceSentence().

Definition at line 43 of file SentenceAlignmentWithSyntax.h.

Referenced by processSourceSentence().

Definition at line 42 of file SentenceAlignmentWithSyntax.h.

Referenced by processSourceSentence().

Definition at line 39 of file SentenceAlignmentWithSyntax.h.

Referenced by processTargetSentence().

Definition at line 43 of file SentenceAlignmentWithSyntax.h.

Referenced by processTargetSentence().

Definition at line 41 of file SentenceAlignmentWithSyntax.h.

Referenced by processTargetSentence().

Definition at line 38 of file SentenceAlignmentWithSyntax.h.

Referenced by processSourceSentence().

Definition at line 37 of file SentenceAlignmentWithSyntax.h.

Referenced by collectWordLabelCounts(), and processTargetSentence().


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

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