Moses::ChartRuleLookupManagerOnDisk Class Reference

Implementation of ChartRuleLookupManager for on-disk rule tables. More...

#include <ChartRuleLookupManagerOnDisk.h>

Inheritance diagram for Moses::ChartRuleLookupManagerOnDisk:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChartRuleLookupManagerOnDisk (const ChartParser &parser, const ChartCellCollectionBase &cellColl, const PhraseDictionaryOnDisk &dictionary, OnDiskPt::OnDiskWrapper &dbWrapper, const std::vector< FactorType > &inputFactorsVec, const std::vector< FactorType > &outputFactorsVec)
 ~ChartRuleLookupManagerOnDisk ()
virtual void GetChartRuleCollection (const InputPath &inputPath, size_t last, ChartParserCallback &outColl)


Detailed Description

Implementation of ChartRuleLookupManager for on-disk rule tables.

Definition at line 36 of file ChartRuleLookupManagerOnDisk.h.


Constructor & Destructor Documentation

Moses::ChartRuleLookupManagerOnDisk::ChartRuleLookupManagerOnDisk ( const ChartParser parser,
const ChartCellCollectionBase cellColl,
const PhraseDictionaryOnDisk dictionary,
OnDiskPt::OnDiskWrapper &  dbWrapper,
const std::vector< FactorType > &  inputFactorsVec,
const std::vector< FactorType > &  outputFactorsVec 
)

Definition at line 36 of file ChartRuleLookupManagerOnDisk.cpp.

References Moses::ChartParser::GetSize(), and UTIL_THROW_IF2.

Here is the call graph for this function:

Moses::ChartRuleLookupManagerOnDisk::~ChartRuleLookupManagerOnDisk (  ) 

Definition at line 65 of file ChartRuleLookupManagerOnDisk.cpp.

References Moses::RemoveAllInColl().

Here is the call graph for this function:


Member Function Documentation

void Moses::ChartRuleLookupManagerOnDisk::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 77 of file ChartRuleLookupManagerOnDisk.cpp.

References Moses::DottedRuleStackOnDisk::Add(), Moses::ChartRuleLookupManagerCYKPlus::AddCompletedRule(), Moses::DottedRuleCollOnDisk::begin(), Moses::ChartCellLabelSet::begin(), Moses::DottedRuleOnDisk::Done(), Moses::DottedRuleCollOnDisk::end(), Moses::ChartCellLabelSet::end(), Moses::DottedRuleStackOnDisk::Get(), Moses::SavedNodeOnDisk::GetDottedRule(), Moses::WordsRange::GetEndPos(), Moses::StaticData::GetInputDefaultNonTerminal(), Moses::ChartParser::GetInputPath(), Moses::ChartCellLabel::GetLabel(), Moses::DottedRuleOnDisk::GetLastNode(), Moses::InputPath::GetNonTerminalSet(), Moses::ChartRuleLookupManager::GetParser(), Moses::DottedRuleStackOnDisk::GetSavedNodeColl(), Moses::ChartRuleLookupManager::GetSourceAt(), Moses::WordsRange::GetStartPos(), Moses::PhraseDictionary::GetTableLimit(), Moses::ChartRuleLookupManager::GetTargetLabelSet(), Moses::StaticData::GetWeights(), Moses::DottedRule::GetWordsRange(), Moses::InputPath::GetWordsRange(), Moses::StaticData::Instance(), Moses::TargetPhraseCollection::IsEmpty(), Moses::DottedRule::IsRoot(), Moses::PhraseDictionaryOnDisk::m_maxSpanDefault, Moses::PhraseDictionaryOnDisk::m_maxSpanLabelled, NOT_FOUND, NULL, range, Moses::DottedRuleStackOnDisk::SortSavedNodes(), and UTIL_THROW_IF2.

Here is the call graph for this function:


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

Generated on Mon Aug 3 00:33:28 2015 for Moses by  doxygen 1.5.9