FST  openfst-1.8.2.post1
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 (TokenType token_type=TokenType::BYTE, const SymbolTable *syms=nullptr, Label unknown_label=kNoLabel, bool allow_negative=false)
 
template<class FST >
bool operator() (std::string_view str, FST *fst, const std::string &sep=FST_FLAGS_fst_field_separator) const
 
template<class FST >
bool operator() (std::string_view str, FST *fst, Weight weight, const std::string &sep=FST_FLAGS_fst_field_separator) const
 

Detailed Description

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

Definition at line 172 of file string.h.

Member Typedef Documentation

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

Definition at line 174 of file string.h.

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

Definition at line 175 of file string.h.

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

Definition at line 176 of file string.h.

Constructor & Destructor Documentation

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

Definition at line 178 of file string.h.

Member Function Documentation

template<class Arc>
template<class FST >
bool fst::StringCompiler< Arc >::operator() ( std::string_view  str,
FST fst,
const std::string &  sep = FST_FLAGS_fst_field_separator 
) const
inline

Definition at line 192 of file string.h.

template<class Arc>
template<class FST >
bool fst::StringCompiler< Arc >::operator() ( std::string_view  str,
FST fst,
Weight  weight,
const std::string &  sep = FST_FLAGS_fst_field_separator 
) const
inline

Definition at line 207 of file string.h.


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