FST
openfst-1.8.2.post1
OpenFst Library
|
#include <fst-class.h>
Public Member Functions | |
bool | AddArc (int64_t s, const ArcClass &ac) |
int64_t | AddState () |
void | AddStates (size_t n) |
bool | DeleteArcs (int64_t s, size_t n) |
bool | DeleteArcs (int64_t s) |
bool | DeleteStates (const std::vector< int64_t > &dstates) |
void | DeleteStates () |
SymbolTable * | MutableInputSymbols () |
SymbolTable * | MutableOutputSymbols () |
int64_t | NumStates () const |
bool | ReserveArcs (int64_t s, size_t n) |
void | ReserveStates (int64_t n) |
void | SetInputSymbols (const SymbolTable *isyms) |
bool | SetFinal (int64_t s, const WeightClass &weight) |
void | SetOutputSymbols (const SymbolTable *osyms) |
void | SetProperties (uint64_t props, uint64_t mask) |
bool | SetStart (int64_t s) |
template<class Arc > | |
MutableFstClass (std::unique_ptr< MutableFst< Arc >> fst) | |
template<class Arc > | |
MutableFstClass (const MutableFst< Arc > &fst) | |
template<class Arc > | |
MutableFst< Arc > * | GetMutableFst () |
![]() | |
FstClass () | |
template<class Arc > | |
FstClass (std::unique_ptr< Fst< Arc >> fst) | |
template<class Arc > | |
FstClass (const Fst< Arc > &fst) | |
FstClass (const FstClass &other) | |
FstClass & | operator= (const FstClass &other) |
WeightClass | Final (int64_t s) const final |
const std::string & | ArcType () const final |
const std::string & | FstType () const final |
const SymbolTable * | InputSymbols () const final |
size_t | NumArcs (int64_t s) const final |
size_t | NumInputEpsilons (int64_t s) const final |
size_t | NumOutputEpsilons (int64_t s) const final |
const SymbolTable * | OutputSymbols () const final |
uint64_t | Properties (uint64_t mask, bool test) const final |
int64_t | Start () const final |
bool | ValidStateId (int64_t s) const final |
const std::string & | WeightType () const final |
bool | WeightTypesMatch (const WeightClass &weight, std::string_view op_name) const |
bool | Write (const std::string &source) const final |
bool | Write (std::ostream &ostr, const std::string &source) const final |
~FstClass () override | |
template<class Arc > | |
const Fst< Arc > * | GetFst () const |
![]() | |
virtual | ~FstClassBase () |
Static Public Member Functions | |
static std::unique_ptr< MutableFstClass > | Read (const std::string &source, bool convert=false) |
template<class Arc > | |
static std::unique_ptr< FstClassImplBase > | Convert (const FstClass &other) |
template<class Arc > | |
static std::unique_ptr< FstClassImplBase > | Create () |
template<class Arc > | |
static std::unique_ptr< MutableFstClass > | Read (std::istream &stream, const FstReadOptions &opts) |
![]() | |
static std::unique_ptr< FstClass > | Read (const std::string &source) |
static std::unique_ptr< FstClass > | Read (std::istream &istrm, const std::string &source) |
template<class Arc > | |
static std::unique_ptr< FstClassImplBase > | Convert (const FstClass &other) |
template<class Arc > | |
static std::unique_ptr< FstClassImplBase > | Create () |
template<class Arc > | |
static std::unique_ptr< FstClass > | Read (std::istream &stream, const FstReadOptions &opts) |
Protected Member Functions | |
MutableFstClass (std::unique_ptr< FstClassImplBase > impl) | |
![]() | |
FstClass (std::unique_ptr< FstClassImplBase > impl) | |
const FstClassImplBase * | GetImpl () const |
FstClassImplBase * | GetImpl () |
Additional Inherited Members | |
![]() | |
template<class FstClassT , class UnderlyingT > | |
static std::unique_ptr< FstClassT > | ReadTypedFst (std::istream &stream, const FstReadOptions &opts) |
Definition at line 443 of file fst-class.h.
|
inlineexplicit |
Definition at line 501 of file fst-class.h.
|
inlineexplicit |
Definition at line 508 of file fst-class.h.
|
inlineexplicitprotected |
Definition at line 541 of file fst-class.h.
|
inline |
Definition at line 445 of file fst-class.h.
|
inline |
Definition at line 450 of file fst-class.h.
|
inline |
Definition at line 452 of file fst-class.h.
|
inlinestatic |
Definition at line 513 of file fst-class.h.
|
inlinestatic |
Definition at line 520 of file fst-class.h.
|
inline |
Definition at line 454 of file fst-class.h.
|
inline |
Definition at line 456 of file fst-class.h.
|
inline |
Definition at line 458 of file fst-class.h.
|
inline |
Definition at line 462 of file fst-class.h.
|
inline |
Definition at line 527 of file fst-class.h.
|
inline |
Definition at line 464 of file fst-class.h.
|
inline |
Definition at line 468 of file fst-class.h.
|
inline |
Definition at line 472 of file fst-class.h.
|
static |
Definition at line 113 of file fst-class.cc.
|
inlinestatic |
Definition at line 534 of file fst-class.h.
|
inline |
Definition at line 474 of file fst-class.h.
|
inline |
Definition at line 476 of file fst-class.h.
|
inline |
Definition at line 485 of file fst-class.h.
|
inline |
Definition at line 481 of file fst-class.h.
|
inline |
Definition at line 490 of file fst-class.h.
|
inline |
Definition at line 494 of file fst-class.h.
|
inline |
Definition at line 498 of file fst-class.h.