Cambridge SMT System
ucam::hifst::AlilatsToSparseWeightLatsData< ArcT > Class Template Reference

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

#include <data-main.alilats2splats.hpp>

Public Member Functions

 AlilatsToSparseWeightLatsData ()
 

Public Attributes

uint sidx
 Sentence index. More...
 
unordered_map< std::string, void * > fsts
 Pointers to lattices (e.g. translation lattice, lmbr, etc) , accessed by unique keys. Notice that it is a void pointer, so any type of Fst/Arc will fit in nicely. More...
 
unordered_map< std::string, std::vector< const ucam::fsttools::KenLMData * > > klm
 Collections of language models accessed by keys. More...
 
boost::scoped_ptr< ucam::fsttools::StatsDatastats
 
unordered_map< std::string, ucam::util::WordMapper * > wm
 Wordmap/Integer map objects. Will be necessary if alilats2splats uses non integer-mapped language models. More...
 

Detailed Description

template<class ArcT = void>
class ucam::hifst::AlilatsToSparseWeightLatsData< ArcT >

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

Definition at line 32 of file data-main.alilats2splats.hpp.

Constructor & Destructor Documentation

template<class ArcT = void>
ucam::hifst::AlilatsToSparseWeightLatsData< ArcT >::AlilatsToSparseWeightLatsData ( )
inline

Definition at line 34 of file data-main.alilats2splats.hpp.

Member Data Documentation

template<class ArcT = void>
unordered_map<std::string, void * > ucam::hifst::AlilatsToSparseWeightLatsData< ArcT >::fsts

Pointers to lattices (e.g. translation lattice, lmbr, etc) , accessed by unique keys. Notice that it is a void pointer, so any type of Fst/Arc will fit in nicely.

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

template<class ArcT = void>
unordered_map<std::string, std::vector <const ucam::fsttools::KenLMData *> > ucam::hifst::AlilatsToSparseWeightLatsData< ArcT >::klm

Collections of language models accessed by keys.

Definition at line 47 of file data-main.alilats2splats.hpp.

template<class ArcT = void>
uint ucam::hifst::AlilatsToSparseWeightLatsData< ArcT >::sidx

Sentence index.

Definition at line 37 of file data-main.alilats2splats.hpp.

template<class ArcT = void>
boost::scoped_ptr<ucam::fsttools::StatsData> ucam::hifst::AlilatsToSparseWeightLatsData< ArcT >::stats

Definition at line 49 of file data-main.alilats2splats.hpp.

template<class ArcT = void>
unordered_map<std::string, ucam::util::WordMapper *> ucam::hifst::AlilatsToSparseWeightLatsData< ArcT >::wm

Wordmap/Integer map objects. Will be necessary if alilats2splats uses non integer-mapped language models.

Definition at line 52 of file data-main.alilats2splats.hpp.


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