FST  openfst-1.7.3
OpenFst Library
Public Member Functions | List of all members
fst::LinearFstData< A >::GroupFeatureMap Class Reference

#include <linear-fst-data.h>

Public Member Functions

 GroupFeatureMap ()
 
void Init (size_t num_groups, size_t num_words)
 
Label Find (size_t group_id, Label ilabel) const
 
bool Set (size_t group_id, Label ilabel, Label feat)
 
std::istream & Read (std::istream &strm)
 
std::ostream & Write (std::ostream &strm) const
 

Detailed Description

template<class A>
class fst::LinearFstData< A >::GroupFeatureMap

Definition at line 476 of file linear-fst-data.h.

Constructor & Destructor Documentation

template<class A>
fst::LinearFstData< A >::GroupFeatureMap::GroupFeatureMap ( )
inline

Definition at line 478 of file linear-fst-data.h.

Member Function Documentation

template<class A>
Label fst::LinearFstData< A >::GroupFeatureMap::Find ( size_t  group_id,
Label  ilabel 
) const
inline

Definition at line 486 of file linear-fst-data.h.

template<class A>
void fst::LinearFstData< A >::GroupFeatureMap::Init ( size_t  num_groups,
size_t  num_words 
)
inline

Definition at line 480 of file linear-fst-data.h.

template<class A>
std::istream& fst::LinearFstData< A >::GroupFeatureMap::Read ( std::istream &  strm)
inline

Definition at line 501 of file linear-fst-data.h.

template<class A>
bool fst::LinearFstData< A >::GroupFeatureMap::Set ( size_t  group_id,
Label  ilabel,
Label  feat 
)
inline

Definition at line 490 of file linear-fst-data.h.

template<class A>
std::ostream& fst::LinearFstData< A >::GroupFeatureMap::Write ( std::ostream &  strm) const
inline

Definition at line 507 of file linear-fst-data.h.


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