Moses::ReloadingLanguageModel< Model > Class Template Reference

#include <Reloading.h>

Inheritance diagram for Moses::ReloadingLanguageModel< Model >:

Inheritance graph
[legend]
Collaboration diagram for Moses::ReloadingLanguageModel< Model >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ReloadingLanguageModel (const std::string &line, const std::string &file, FactorType factorType, bool lazy)
virtual void InitializeForInput (ttasksptr const &ttask)
 Called before search and collecting of translation options.

Protected Attributes

const std::string m_file
bool m_lazy


Detailed Description

template<class Model>
class Moses::ReloadingLanguageModel< Model >

Definition at line 38 of file Reloading.h.


Constructor & Destructor Documentation

template<class Model>
Moses::ReloadingLanguageModel< Model >::ReloadingLanguageModel ( const std::string &  line,
const std::string &  file,
FactorType  factorType,
bool  lazy 
) [inline]

Definition at line 42 of file Reloading.h.

References Moses::ReloadingLanguageModel< Model >::m_file, and VERBOSE.


Member Function Documentation

template<class Model>
virtual void Moses::ReloadingLanguageModel< Model >::InitializeForInput ( ttasksptr const &  ttask  )  [inline, virtual]

Called before search and collecting of translation options.

Reimplemented from Moses::FeatureFunction.

Definition at line 48 of file Reloading.h.

References key, util::LAZY, Moses::LanguageModelKen< Model >::LoadModel(), Moses::ReloadingLanguageModel< Model >::m_file, Moses::ReloadingLanguageModel< Model >::m_lazy, util::POPULATE_OR_READ, and VERBOSE.

Here is the call graph for this function:


Member Data Documentation

template<class Model>
const std::string Moses::ReloadingLanguageModel< Model >::m_file [protected]

template<class Model>
bool Moses::ReloadingLanguageModel< Model >::m_lazy [protected]


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

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