Moses::PhraseDictionaryTransliteration Class Reference

#include <PhraseDictionaryTransliteration.h>

Inheritance diagram for Moses::PhraseDictionaryTransliteration:

Inheritance graph
Collaboration diagram for Moses::PhraseDictionaryTransliteration:

Collaboration graph

List of all members.

Public Member Functions

 PhraseDictionaryTransliteration (const std::string &line)
void Load (AllOptions::ptr const &opts)
 override to load model files
virtual void CleanUpAfterSentenceProcessing (const InputType &source)
void GetTargetPhraseCollectionBatch (const InputPathList &inputPathQueue) const
ChartRuleLookupManagerCreateRuleLookupManager (const ChartParser &, const ChartCellCollectionBase &, std::size_t)
 Create a sentence-specific manager for SCFG rule lookup.
void SetParameter (const std::string &key, const std::string &value)

Protected Member Functions

std::vector< TargetPhrase * > CreateTargetPhrases (const Phrase &sourcePhrase, const std::string &outDir) const
void GetTargetPhraseCollection (InputPath &inputPath) const

Protected Attributes

std::string m_mosesDir
std::string m_scriptDir
std::string m_externalDir
std::string m_inputLang
std::string m_outputLang


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

Detailed Description

Definition at line 14 of file PhraseDictionaryTransliteration.h.

Constructor & Destructor Documentation

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

Definition at line 13 of file PhraseDictionaryTransliteration.cpp.

References m_externalDir, m_inputLang, m_mosesDir, m_outputLang, m_scriptDir, Moses::FeatureFunction::ReadParameters(), and UTIL_THROW_IF2.

Here is the call graph for this function:

Member Function Documentation

void Moses::PhraseDictionaryTransliteration::CleanUpAfterSentenceProcessing ( const InputType source  )  [virtual]

Reimplemented from Moses::PhraseDictionary.

Definition at line 30 of file PhraseDictionaryTransliteration.cpp.

References Moses::PhraseDictionary::ReduceCache().

Here is the call graph for this function:

ChartRuleLookupManager * Moses::PhraseDictionaryTransliteration::CreateRuleLookupManager ( const ChartParser ,
const ChartCellCollectionBase ,
) [virtual]

Create a sentence-specific manager for SCFG rule lookup.

Implements Moses::PhraseDictionary.

Definition at line 138 of file PhraseDictionaryTransliteration.cpp.

References NULL.

std::vector<TargetPhrase*> Moses::PhraseDictionaryTransliteration::CreateTargetPhrases ( const Phrase sourcePhrase,
const std::string &  outDir 
) const [protected]

Referenced by GetTargetPhraseCollection().

Here is the caller graph for this function:

void Moses::PhraseDictionaryTransliteration::GetTargetPhraseCollection ( InputPath inputPath  )  const [protected]

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

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

override to load model files

Reimplemented from Moses::FeatureFunction.

Definition at line 24 of file PhraseDictionaryTransliteration.cpp.

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

Here is the call graph for this function:

void Moses::PhraseDictionaryTransliteration::SetParameter ( const std::string &  key,
const std::string &  value 
) [virtual]

Moses::PhraseDictionaryTransliteration::TO_STRING (  ) 

Friends And Related Function Documentation

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

Member Data Documentation

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

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