Moses::RuleTableLoader Class Reference

#include <Loader.h>

Inheritance diagram for Moses::RuleTableLoader:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~RuleTableLoader ()
virtual bool Load (const std::vector< FactorType > &input, const std::vector< FactorType > &output, const std::string &inFile, size_t tableLimit, RuleTableTrie &)=0

Protected Member Functions

void SortAndPrune (RuleTableTrie &ruleTable)
TargetPhraseCollectionGetOrCreateTargetPhraseCollection (RuleTableTrie &ruleTable, const Phrase &source, const TargetPhrase &target, const Word *sourceLHS)


Detailed Description

Abstract base class defining RuleTableLoader interface. Friend of RuleTableTrie.

Definition at line 33 of file Loader.h.


Constructor & Destructor Documentation

virtual Moses::RuleTableLoader::~RuleTableLoader (  )  [inline, virtual]

Definition at line 36 of file Loader.h.


Member Function Documentation

TargetPhraseCollection& Moses::RuleTableLoader::GetOrCreateTargetPhraseCollection ( RuleTableTrie ruleTable,
const Phrase source,
const TargetPhrase target,
const Word sourceLHS 
) [inline, protected]

Definition at line 52 of file Loader.h.

Referenced by Moses::RuleTableLoaderStandard::Load().

Here is the caller graph for this function:

virtual bool Moses::RuleTableLoader::Load ( const std::vector< FactorType > &  input,
const std::vector< FactorType > &  output,
const std::string &  inFile,
size_t  tableLimit,
RuleTableTrie  
) [pure virtual]

void Moses::RuleTableLoader::SortAndPrune ( RuleTableTrie ruleTable  )  [inline, protected]

Definition at line 46 of file Loader.h.

Referenced by Moses::RuleTableLoaderStandard::Load(), and Moses::RuleTableLoaderCompact::Load().

Here is the caller graph for this function:


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

Generated on Sun Oct 26 00:31:33 2014 for Moses by  doxygen 1.5.9