#include <TabbedSentence.h>
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 TabbedColumns & | GetColumns () const |
const std::string & | GetColumn (size_t i) const |
Definition at line 52 of file TabbedSentence.h.
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.
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().
const std::string& Moses::TabbedSentence::GetColumn | ( | size_t | i | ) | const [inline] |
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().