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

#include <string.h>

Public Types

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

Public Member Functions

 StringCompiler (StringTokenType token_type, const SymbolTable *syms=nullptr, Label unknown_label=kNoLabel, bool allow_negative=false)
 
template<class FST >
bool operator() (const string &str, FST *fst) const
 
template<class FST >
bool operator() (const string &str, FST *fst, Weight weight) const
 

Detailed Description

template<class Arc>
class fst::StringCompiler< Arc >

Definition at line 91 of file string.h.

Member Typedef Documentation

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

Definition at line 93 of file string.h.

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

Definition at line 94 of file string.h.

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

Definition at line 95 of file string.h.

Constructor & Destructor Documentation

template<class Arc>
fst::StringCompiler< Arc >::StringCompiler ( StringTokenType  token_type,
const SymbolTable syms = nullptr,
Label  unknown_label = kNoLabel,
bool  allow_negative = false 
)
inlineexplicit

Definition at line 97 of file string.h.

Member Function Documentation

template<class Arc>
template<class FST >
bool fst::StringCompiler< Arc >::operator() ( const string &  str,
FST *  fst 
) const
inline

Definition at line 108 of file string.h.

template<class Arc>
template<class FST >
bool fst::StringCompiler< Arc >::operator() ( const string &  str,
FST *  fst,
Weight  weight 
) const
inline

Definition at line 120 of file string.h.


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