Moses::ChartRuleLookupManagerExample Class Reference

#include <ChartRuleLookupManagerExample.h>

Inheritance diagram for Moses::ChartRuleLookupManagerExample:

Inheritance graph
Collaboration diagram for Moses::ChartRuleLookupManagerExample:

Collaboration graph

List of all members.

Public Member Functions

 ChartRuleLookupManagerExample (const ChartParser &parser, const ChartCellCollectionBase &cellColl, const ExamplePT &skeletonPt)
 ~ChartRuleLookupManagerExample ()
virtual void GetChartRuleCollection (const InputPath &inputPath, size_t last, ChartParserCallback &outColl)

Detailed Description

Definition at line 34 of file ChartRuleLookupManagerExample.h.

Constructor & Destructor Documentation

Moses::ChartRuleLookupManagerExample::ChartRuleLookupManagerExample ( const ChartParser parser,
const ChartCellCollectionBase cellColl,
const ExamplePT skeletonPt 

Definition at line 39 of file ChartRuleLookupManagerExample.cpp.

Moses::ChartRuleLookupManagerExample::~ChartRuleLookupManagerExample (  ) 

Definition at line 49 of file ChartRuleLookupManagerExample.cpp.

Member Function Documentation

void Moses::ChartRuleLookupManagerExample::GetChartRuleCollection ( const InputPath inputPath,
size_t  lastPos,
ChartParserCallback outColl 
) [virtual]

abstract function. Return a vector of translation options for given a range in the input sentence

range source range for which you want the translation options
outColl return argument

Implements Moses::ChartRuleLookupManager.

Definition at line 54 of file ChartRuleLookupManagerExample.cpp.

References Moses::ChartParserCallback::Add(), Moses::ChartCellLabel::GetLabel(), Moses::Range::GetNumWordsCovered(), Moses::ChartRuleLookupManager::GetSourceAt(), Moses::Range::GetStartPos(), Moses::InputPath::GetWordsRange(), and range.

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:41 2017 for Moses by  doxygen 1.5.9