FST
openfst-1.8.3
OpenFst Library
|
#include <expanded-fst.h>
Public Types | |
using | Arc = A |
using | StateId = typename Arc::StateId |
Public Types inherited from fst::Fst< A > | |
using | Arc = A |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
virtual StateId | NumStates () const =0 |
std::optional< StateId > | NumStatesIfKnown () const override |
ExpandedFst * | Copy (bool safe=false) const override=0 |
Public Member Functions inherited from fst::Fst< A > | |
virtual | ~Fst ()=default |
virtual StateId | Start () const =0 |
virtual Weight | Final (StateId) const =0 |
virtual size_t | NumArcs (StateId) const =0 |
virtual size_t | NumInputEpsilons (StateId) const =0 |
virtual size_t | NumOutputEpsilons (StateId) const =0 |
virtual uint64_t | Properties (uint64_t mask, bool test) const =0 |
virtual const std::string & | Type () const =0 |
virtual bool | Write (std::ostream &strm, const FstWriteOptions &opts) const |
virtual bool | Write (const std::string &source) const |
virtual const SymbolTable * | InputSymbols () const =0 |
virtual const SymbolTable * | OutputSymbols () const =0 |
virtual void | InitStateIterator (StateIteratorData< Arc > *data) const =0 |
virtual void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const =0 |
virtual MatcherBase< Arc > * | InitMatcher (MatchType match_type) const |
Static Public Member Functions | |
static ExpandedFst * | Read (std::istream &strm, const FstReadOptions &opts) |
static ExpandedFst * | Read (std::string_view source) |
Static Public Member Functions inherited from fst::Fst< A > | |
static Fst * | Read (std::istream &strm, const FstReadOptions &opts) |
static Fst * | Read (const std::string &source) |
Additional Inherited Members | |
Protected Member Functions inherited from fst::Fst< A > | |
bool | WriteFile (const std::string &source) const |
Definition at line 46 of file expanded-fst.h.
using fst::ExpandedFst< A >::Arc = A |
Definition at line 48 of file expanded-fst.h.
using fst::ExpandedFst< A >::StateId = typename Arc::StateId |
Definition at line 49 of file expanded-fst.h.
|
overridepure virtual |
Implements fst::Fst< A >.
Implemented in fst::CompactFst< A, C, CacheStore >, fst::EditFst< A, WrappedFstT, MutableFstT >, fst::VectorFst< A, S >, fst::VectorFst< fst::ReverseArc >, fst::VectorFst< fst::ArcTpl >, fst::VectorFst< Arc >, fst::NGramFst< A >, fst::ConstFst< A, Unsigned >, fst::MatcherFst< F, M, Name, Init, Data >, fst::MutableFst< A >, fst::MutableFst< typename internal::EditFstImpl< A, WrappedFstT, MutableFstT >::Arc >, fst::MutableFst< typename internal::VectorFstImpl< S >::Arc >, fst::MutableFst< ToArc >, and fst::MutableFst< Arc >.
|
pure virtual |
Implemented in fst::ImplToExpandedFst< internal::ConstFstImpl< A, Unsigned > >, fst::ImplToExpandedFst< internal::NGramFstImpl< A > >, fst::ImplToExpandedFst< internal::AddOnImpl< F, Data > >, fst::ImplToExpandedFst< internal::VectorFstImpl< S >, MutableFst< typename internal::VectorFstImpl< S >::Arc > >, fst::ImplToExpandedFst< internal::CompactFstImpl< A, C, CacheStore > >, and fst::ImplToExpandedFst< internal::EditFstImpl< A, WrappedFstT, MutableFstT >, MutableFst< typename internal::EditFstImpl< A, WrappedFstT, MutableFstT >::Arc > >.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< A >.
Definition at line 53 of file expanded-fst.h.
|
inlinestatic |
Definition at line 61 of file expanded-fst.h.
|
inlinestatic |
Definition at line 88 of file expanded-fst.h.