Moses::ChartParser Class Reference

#include <ChartParser.h>

Collaboration diagram for Moses::ChartParser:

Collaboration graph

List of all members.

Public Member Functions

 ChartParser (ttasksptr const &ttask, ChartCellCollectionBase &cells)
 ~ChartParser ()
void Create (const Range &range, ChartParserCallback &to)
long GetTranslationId () const
 the sentence being decoded
size_t GetSize () const
const InputPathGetInputPath (size_t startPos, size_t endPos) const
const InputPathGetInputPath (const Range &range) const
const std::vector< Phrase * > & GetUnknownSources () const
AllOptions::ptr const & options () const

Detailed Description

Definition at line 63 of file ChartParser.h.

Constructor & Destructor Documentation

Moses::ChartParser::ChartParser ( ttasksptr const &  ttask,
ChartCellCollectionBase cells 

Moses::ChartParser::~ChartParser (  ) 

Definition at line 184 of file ChartParser.cpp.

References Moses::StaticData::CleanUpAfterSentenceProcessing(), Moses::StaticData::Instance(), and Moses::RemoveAllInColl().

Here is the call graph for this function:

Member Function Documentation

void Moses::ChartParser::Create ( const Range range,
ChartParserCallback to 

const InputPath & Moses::ChartParser::GetInputPath ( const Range range  )  const

Definition at line 268 of file ChartParser.cpp.

References Moses::Range::GetEndPos(), GetInputPath(), and Moses::Range::GetStartPos().

Here is the call graph for this function:

const InputPath & Moses::ChartParser::GetInputPath ( size_t  startPos,
size_t  endPos 
) const

Definition at line 273 of file ChartParser.cpp.

References UTIL_THROW_IF2.

Referenced by Create(), Moses::ChartManager::Decode(), Moses::ChartRuleLookupManagerOnDisk::GetChartRuleCollection(), and GetInputPath().

Here is the caller graph for this function:

size_t Moses::ChartParser::GetSize (  )  const

long Moses::ChartParser::GetTranslationId (  )  const

the sentence being decoded

Definition at line 299 of file ChartParser.cpp.

References Moses::InputType::GetTranslationId().

Here is the call graph for this function:

const std::vector<Phrase*>& Moses::ChartParser::GetUnknownSources (  )  const [inline]

Definition at line 78 of file ChartParser.h.

References Moses::ChartParserUnknown::GetUnknownSources().

Referenced by Moses::ChartManager::OutputUnknowns().

Here is the call graph for this function:

Here is the caller graph for this function:

AllOptions::ptr const & Moses::ChartParser::options (  )  const

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

Generated on Thu Jul 6 00:32:55 2017 for Moses by  doxygen 1.5.9