Moses::ExamplePT Class Reference

#include <ExamplePT.h>

Inheritance diagram for Moses::ExamplePT:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ExamplePT (const std::string &line)
void Load (AllOptions::ptr const &opts)
 override to load model files
void InitializeForInput (ttasksptr const &ttask)
 Create entry for translation of source to targetPhrase.
void GetTargetPhraseCollectionBatch (const InputPathList &inputPathQueue) const
ChartRuleLookupManagerCreateRuleLookupManager (const ChartParser &, const ChartCellCollectionBase &, std::size_t)
 Create a sentence-specific manager for SCFG rule lookup.
 TO_STRING ()

Protected Member Functions

TargetPhraseCreateTargetPhrase (const Phrase &sourcePhrase) const

Friends

std::ostream & operator<< (std::ostream &, const ExamplePT &)


Detailed Description

Definition at line 12 of file ExamplePT.h.


Constructor & Destructor Documentation

Moses::ExamplePT::ExamplePT ( const std::string &  line  ) 

Definition at line 9 of file ExamplePT.cpp.

References Moses::FeatureFunction::ReadParameters().

Here is the call graph for this function:


Member Function Documentation

ChartRuleLookupManager * Moses::ExamplePT::CreateRuleLookupManager ( const ChartParser ,
const ChartCellCollectionBase ,
std::size_t   
) [virtual]

Create a sentence-specific manager for SCFG rule lookup.

Implements Moses::PhraseDictionary.

Definition at line 72 of file ExamplePT.cpp.

TargetPhrase * Moses::ExamplePT::CreateTargetPhrase ( const Phrase sourcePhrase  )  const [protected]

void Moses::ExamplePT::GetTargetPhraseCollectionBatch ( const InputPathList inputPathQueue  )  const [virtual]

void Moses::ExamplePT::InitializeForInput ( ttasksptr const &  ttask  )  [virtual]

Create entry for translation of source to targetPhrase.

Reimplemented from Moses::PhraseDictionary.

Definition at line 21 of file ExamplePT.cpp.

References Moses::PhraseDictionary::ReduceCache().

Here is the call graph for this function:

void Moses::ExamplePT::Load ( AllOptions::ptr const &  opts  )  [virtual]

override to load model files

Reimplemented from Moses::FeatureFunction.

Definition at line 15 of file ExamplePT.cpp.

References Moses::FeatureFunction::m_options, and Moses::PhraseDictionary::SetFeaturesToApply().

Here is the call graph for this function:

Moses::ExamplePT::TO_STRING (  ) 


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const ExamplePT  
) [friend]


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

Generated on Thu Jul 6 00:33:48 2017 for Moses by  doxygen 1.5.9