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 (AllOptions const &opts, 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)
TargetPhraseCollection::shared_ptr GetOrCreateTargetPhraseCollection (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 34 of file Loader.h.


Constructor & Destructor Documentation

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

Definition at line 37 of file Loader.h.


Member Function Documentation

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

Definition at line 55 of file Loader.h.

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

Here is the caller graph for this function:

virtual bool Moses::RuleTableLoader::Load ( AllOptions const &  opts,
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 48 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 Thu Jul 6 00:33:53 2017 for Moses by  doxygen 1.5.9