Cambridge SMT System
ucam::hifst::RuleIdsToSparseWeightLatsData< KenLMModelT > Class Template Reference

Data class containing relevant variables. To be used as template for task classes using it. More...

#include <data-main.rules2weights.hpp>

Public Types

typedef unordered_map< unsigned, TupleArc32::Weight > WeightsTable
 
typedef WeightsTable::const_iterator WeightsTableIt
 

Public Member Functions

 RuleIdsToSparseWeightLatsData ()
 

Public Attributes

unsigned sidx
 Sentence index. More...
 
WeightsTableweights
 
unordered_map< std::string, void * > fsts
 

Detailed Description

template<class KenLMModelT = void>
class ucam::hifst::RuleIdsToSparseWeightLatsData< KenLMModelT >

Data class containing relevant variables. To be used as template for task classes using it.

Definition at line 31 of file data-main.rules2weights.hpp.

Member Typedef Documentation

template<class KenLMModelT = void>
typedef unordered_map<unsigned,TupleArc32::Weight> ucam::hifst::RuleIdsToSparseWeightLatsData< KenLMModelT >::WeightsTable

Definition at line 42 of file data-main.rules2weights.hpp.

template<class KenLMModelT = void>
typedef WeightsTable::const_iterator ucam::hifst::RuleIdsToSparseWeightLatsData< KenLMModelT >::WeightsTableIt

Definition at line 43 of file data-main.rules2weights.hpp.

Constructor & Destructor Documentation

template<class KenLMModelT = void>
ucam::hifst::RuleIdsToSparseWeightLatsData< KenLMModelT >::RuleIdsToSparseWeightLatsData ( )
inline

Definition at line 33 of file data-main.rules2weights.hpp.

Member Data Documentation

template<class KenLMModelT = void>
unordered_map<std::string, void * > ucam::hifst::RuleIdsToSparseWeightLatsData< KenLMModelT >::fsts

Definition at line 46 of file data-main.rules2weights.hpp.

template<class KenLMModelT = void>
unsigned ucam::hifst::RuleIdsToSparseWeightLatsData< KenLMModelT >::sidx

Sentence index.

Definition at line 36 of file data-main.rules2weights.hpp.

template<class KenLMModelT = void>
WeightsTable* ucam::hifst::RuleIdsToSparseWeightLatsData< KenLMModelT >::weights

Definition at line 44 of file data-main.rules2weights.hpp.


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