tmmt::SentenceAlignment Struct Reference

#include <SentenceAlignment.h>

List of all members.

Public Member Functions

 SentenceAlignment ()
std::string getTargetString (const Vocabulary &vocab) const
std::string getAlignmentString () const

Public Attributes

int count
std::vector< WORD_IDtarget
std::vector< std::pair< int,
int > > 

Detailed Description

Definition at line 20 of file SentenceAlignment.h.

Constructor & Destructor Documentation

tmmt::SentenceAlignment::SentenceAlignment (  )  [inline]

Definition at line 25 of file SentenceAlignment.h.

Member Function Documentation

std::string tmmt::SentenceAlignment::getAlignmentString (  )  const [inline]

Definition at line 30 of file SentenceAlignment.h.

References alignment, and util::StringStream::str().

Here is the call graph for this function:

std::string tmmt::SentenceAlignment::getTargetString ( const Vocabulary vocab  )  const

Definition at line 15 of file SentenceAlignment.cpp.

References tmmt::Vocabulary::GetWord(), util::StringStream::str(), and target.

Here is the call graph for this function:

Member Data Documentation

std::vector< std::pair<int,int> > tmmt::SentenceAlignment::alignment

Definition at line 23 of file SentenceAlignment.h.

Referenced by getAlignmentString().

Definition at line 21 of file SentenceAlignment.h.

Definition at line 22 of file SentenceAlignment.h.

Referenced by getTargetString().

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

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