FST  openfst-1.8.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 ()=default
 
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 489 of file linear-fst-data.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 499 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 493 of file linear-fst-data.h.

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

Definition at line 514 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 503 of file linear-fst-data.h.

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

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


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