FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::FstCompiler< Arc > Class Template Reference

#include <compile-impl.h>

Public Types

using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 FstCompiler (std::istream &istrm, const std::string &source, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, bool ikeep, bool okeep, bool nkeep, bool allow_negative_labels=false)
 
 FstCompiler (std::istream &istrm, const std::string &source, SymbolTable *isyms, SymbolTable *osyms, SymbolTable *ssyms, bool accep, bool ikeep, bool okeep, bool nkeep, bool allow_negative_labels, bool add_symbols)
 
void Init (std::istream &istrm, const std::string &source, SymbolTable *isyms, SymbolTable *osyms, SymbolTable *ssyms, bool accep, bool ikeep, bool okeep, bool nkeep, bool allow_negative_labels, bool add_symbols)
 
const VectorFst< Arc > & Fst () const
 

Detailed Description

template<class Arc>
class fst::FstCompiler< Arc >

Definition at line 28 of file compile-impl.h.

Member Typedef Documentation

template<class Arc>
using fst::FstCompiler< Arc >::Label = typename Arc::Label

Definition at line 30 of file compile-impl.h.

template<class Arc>
using fst::FstCompiler< Arc >::StateId = typename Arc::StateId

Definition at line 31 of file compile-impl.h.

template<class Arc>
using fst::FstCompiler< Arc >::Weight = typename Arc::Weight

Definition at line 32 of file compile-impl.h.

Constructor & Destructor Documentation

template<class Arc>
fst::FstCompiler< Arc >::FstCompiler ( std::istream &  istrm,
const std::string &  source,
const SymbolTable isyms,
const SymbolTable osyms,
const SymbolTable ssyms,
bool  accep,
bool  ikeep,
bool  okeep,
bool  nkeep,
bool  allow_negative_labels = false 
)
inline

Definition at line 39 of file compile-impl.h.

template<class Arc>
fst::FstCompiler< Arc >::FstCompiler ( std::istream &  istrm,
const std::string &  source,
SymbolTable isyms,
SymbolTable osyms,
SymbolTable ssyms,
bool  accep,
bool  ikeep,
bool  okeep,
bool  nkeep,
bool  allow_negative_labels,
bool  add_symbols 
)
inline

Definition at line 50 of file compile-impl.h.

Member Function Documentation

template<class Arc>
const VectorFst<Arc>& fst::FstCompiler< Arc >::Fst ( ) const
inline

Definition at line 135 of file compile-impl.h.

template<class Arc>
void fst::FstCompiler< Arc >::Init ( std::istream &  istrm,
const std::string &  source,
SymbolTable isyms,
SymbolTable osyms,
SymbolTable ssyms,
bool  accep,
bool  ikeep,
bool  okeep,
bool  nkeep,
bool  allow_negative_labels,
bool  add_symbols 
)
inline

Definition at line 58 of file compile-impl.h.


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