FST
openfst-1.8.2.post1
OpenFst Library
|
#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 |
using fst::StringCompiler< Arc >::Label = typename Arc::Label |
using fst::StringCompiler< Arc >::StateId = typename Arc::StateId |
using fst::StringCompiler< Arc >::Weight = typename Arc::Weight |
|
inlineexplicit |
|
inline |
|
inline |