Moses::Scope3Parser Class Reference

#include <Parser.h>

Inheritance diagram for Moses::Scope3Parser:

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

Collaboration graph
[legend]

List of all members.

Classes

struct  MatchCallback

Public Member Functions

 Scope3Parser (const ChartParser &parser, const ChartCellCollectionBase &cellColl, const RuleTableUTrie &ruleTable, size_t maxChartSpan)
void GetChartRuleCollection (const InputPath &inputPath, size_t last, ChartParserCallback &outColl)


Detailed Description

Todo:
what is this?

Definition at line 47 of file Parser.h.


Constructor & Destructor Documentation

Moses::Scope3Parser::Scope3Parser ( const ChartParser parser,
const ChartCellCollectionBase cellColl,
const RuleTableUTrie ruleTable,
size_t  maxChartSpan 
) [inline]

Definition at line 50 of file Parser.h.


Member Function Documentation

void Moses::Scope3Parser::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

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

Implements Moses::ChartRuleLookupManager.

Definition at line 41 of file Parser.cpp.

References Moses::StackLatticeBuilder::Build(), Moses::VarSpanNode::CalculateRanges(), end, Moses::Range::GetEndPos(), Moses::UTrieNode::GetLabelMap(), Moses::Range::GetStartPos(), Moses::InputPath::GetWordsRange(), Moses::VarSpanNode::m_rank, range, and Moses::StackLatticeSearcher< MatchCallBackType >::Search().

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