FST
openfst-1.8.4
OpenFst Library
|
#include <expand.h>
Public Types | |
using | Arc = A |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
using | StackId = StateId |
using | Store = DefaultCacheStore< Arc > |
using | State = typename Store::State |
using | Impl = I |
![]() | |
using | Impl = internal::PdtExpandFstImpl< A > |
using | Arc = typename Impl::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename internal::PdtExpandFstImpl< A >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
PdtExpandFst (const Fst< Arc > &fst, const std::vector< std::pair< Label, Label >> &parens) | |
PdtExpandFst (const Fst< Arc > &fst, const std::vector< std::pair< Label, Label >> &parens, const PdtExpandFstOptions< Arc > &opts) | |
PdtExpandFst (const PdtExpandFst< Arc > &fst, bool safe=false) | |
PdtExpandFst< Arc > * | Copy (bool safe=false) const override |
void | InitStateIterator (StateIteratorData< Arc > *data) const override |
void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const override |
const PdtStack< StackId, Label > & | GetStack () const |
const PdtStateTable< StateId, StackId > & | GetStateTable () const |
![]() | |
StateId | Start () const override |
Weight | Final (StateId s) const override |
size_t | NumArcs (StateId s) const override |
size_t | NumInputEpsilons (StateId s) const override |
size_t | NumOutputEpsilons (StateId s) const override |
uint64_t | Properties (uint64_t mask, bool test) const override |
const std::string & | Type () const override |
const SymbolTable * | InputSymbols () const override |
const SymbolTable * | OutputSymbols () const override |
![]() | |
virtual | ~Fst ()=default |
virtual std::optional< StateId > | NumStatesIfKnown () const |
virtual bool | Write (std::ostream &strm, const FstWriteOptions &opts) const |
virtual bool | Write (const std::string &source) const |
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 |
Friends | |
class | ArcIterator< PdtExpandFst< Arc > > |
class | StateIterator< PdtExpandFst< Arc > > |
Additional Inherited Members | |
![]() | |
static Fst * | Read (std::istream &strm, const FstReadOptions &opts) |
static Fst * | Read (std::string_view source) |
![]() | |
ImplToFst (std::shared_ptr< Impl > impl) | |
ImplToFst (const ImplToFst &fst, bool safe) | |
ImplToFst ()=delete | |
ImplToFst (const ImplToFst &fst) | |
ImplToFst (ImplToFst &&fst) noexcept | |
ImplToFst & | operator= (const ImplToFst &fst) |
ImplToFst & | operator= (ImplToFst &&fst) noexcept |
const Impl * | GetImpl () const |
Impl * | GetMutableImpl () const |
std::shared_ptr< Impl > | GetSharedImpl () const |
bool | Unique () const |
void | SetImpl (std::shared_ptr< Impl > impl) |
![]() | |
bool | WriteFile (const std::string &source) const |
using fst::PdtExpandFst< A >::Arc = A |
using fst::ImplToFst< I, FST >::Impl = I |
Definition at line 43 of file impl-to-fst.h.
using fst::PdtExpandFst< A >::Label = typename Arc::Label |
using fst::PdtExpandFst< A >::StackId = StateId |
using fst::PdtExpandFst< A >::State = typename Store::State |
using fst::PdtExpandFst< A >::StateId = typename Arc::StateId |
using fst::PdtExpandFst< A >::Store = DefaultCacheStore<Arc> |
using fst::PdtExpandFst< A >::Weight = typename Arc::Weight |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
|
inline |
|
inline |
|
inlineoverride |
|
inlineoverride |
|
friend |
|
friend |