Cambridge SMT System
ucam::fsttools::KenLMModelHelper< KenLMModelT > Struct Template Reference

#include <task.loadlm.hpp>

Public Member Functions

 KenLMModelHelper (std::string const &file, lm::ngram::Config &kenlm_config)
 
KenLMModelT * operator() ()
 

Public Attributes

std::string const file_
 
lm::ngram::Config & kenlm_config_
 

Detailed Description

template<class KenLMModelT>
struct ucam::fsttools::KenLMModelHelper< KenLMModelT >

Definition at line 43 of file task.loadlm.hpp.

Constructor & Destructor Documentation

template<class KenLMModelT>
ucam::fsttools::KenLMModelHelper< KenLMModelT >::KenLMModelHelper ( std::string const &  file,
lm::ngram::Config &  kenlm_config 
)
inline

Definition at line 46 of file task.loadlm.hpp.

Here is the caller graph for this function:

Member Function Documentation

template<class KenLMModelT>
KenLMModelT* ucam::fsttools::KenLMModelHelper< KenLMModelT >::operator() ( )
inline

Definition at line 52 of file task.loadlm.hpp.

Here is the call graph for this function:

Member Data Documentation

template<class KenLMModelT>
std::string const ucam::fsttools::KenLMModelHelper< KenLMModelT >::file_

Definition at line 44 of file task.loadlm.hpp.

template<class KenLMModelT>
lm::ngram::Config& ucam::fsttools::KenLMModelHelper< KenLMModelT >::kenlm_config_

Definition at line 45 of file task.loadlm.hpp.


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