Moses::TabbedSentence Class Reference

#include <TabbedSentence.h>

Inheritance diagram for Moses::TabbedSentence:

Inheritance graph
[legend]
Collaboration diagram for Moses::TabbedSentence:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TabbedSentence (AllOptions::ptr const &opts)
 ~TabbedSentence ()
InputTypeEnum GetType () const
virtual void CreateFromString (const std::vector< FactorType > &factorOrder, const std::string &tabbedString)
virtual int Read (std::istream &in)
 populate this InputType with data from in stream
const TabbedColumnsGetColumns () const
const std::string & GetColumn (size_t i) const


Detailed Description

Definition at line 52 of file TabbedSentence.h.


Constructor & Destructor Documentation

Moses::TabbedSentence::TabbedSentence ( AllOptions::ptr const &  opts  )  [inline]

Definition at line 56 of file TabbedSentence.h.

Moses::TabbedSentence::~TabbedSentence (  )  [inline]

Definition at line 57 of file TabbedSentence.h.


Member Function Documentation

void Moses::TabbedSentence::CreateFromString ( const std::vector< FactorType > &  factorOrder,
const std::string &  tabbedString 
) [virtual]

Reimplemented from Moses::Sentence.

Definition at line 32 of file TabbedSentence.cpp.

References MosesTuning::split().

Here is the call graph for this function:

const std::string& Moses::TabbedSentence::GetColumn ( size_t  i  )  const [inline]

Definition at line 77 of file TabbedSentence.h.

References UTIL_THROW_IF2.

const TabbedColumns& Moses::TabbedSentence::GetColumns (  )  const [inline]

Definition at line 73 of file TabbedSentence.h.

InputTypeEnum Moses::TabbedSentence::GetType (  )  const [inline, virtual]

Reimplemented from Moses::Sentence.

Definition at line 59 of file TabbedSentence.h.

References Moses::TabbedSentenceInput.

int Moses::TabbedSentence::Read ( std::istream &  in  )  [virtual]

populate this InputType with data from in stream

Reimplemented from Moses::Sentence.

Definition at line 50 of file TabbedSentence.cpp.

References Moses::Sentence::init(), and MosesTuning::split().

Here is the call graph for this function:


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

Generated on Thu Jul 6 00:33:35 2017 for Moses by  doxygen 1.5.9