FST
openfst-1.8.3
OpenFst Library
|
#include <fst-decl.h>
Public Types | |
using | Arc = A |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
using | StateTable = T |
using | Store = CacheStore |
using | State = typename CacheStore::State |
using | Impl = internal::ReplaceFstImpl< Arc, StateTable, CacheStore > |
using | CacheImpl = internal::CacheBaseImpl< State, CacheStore > |
Public Types inherited from fst::ImplToFst< internal::ReplaceFstImpl< A, T, CacheStore > > | |
using | Arc = typename internal::ReplaceFstImpl< A, T, CacheStore >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Types inherited from fst::Fst< typename internal::ReplaceFstImpl< A, T, CacheStore >::Arc > | |
using | Arc = typename internal::ReplaceFstImpl< A, T, CacheStore >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
ReplaceFst (const std::vector< std::pair< Label, const Fst< Arc > * >> &fst_array, Label root) | |
ReplaceFst (const std::vector< std::pair< Label, const Fst< Arc > * >> &fst_array, const ReplaceFstOptions< Arc, StateTable, CacheStore > &opts) | |
ReplaceFst (const ReplaceFst &fst, bool safe=false) | |
ReplaceFst * | Copy (bool safe=false) const override |
void | InitStateIterator (StateIteratorData< Arc > *data) const override |
void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const override |
MatcherBase< Arc > * | InitMatcher (MatchType match_type) const override |
bool | CyclicDependencies () const |
const StateTable & | GetStateTable () const |
const Fst< Arc > & | GetFst (Label nonterminal) const |
Public Member Functions inherited from fst::ImplToFst< internal::ReplaceFstImpl< A, T, CacheStore > > | |
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 |
Public Member Functions inherited from fst::Fst< typename internal::ReplaceFstImpl< A, T, CacheStore >::Arc > | |
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 |
Friends | |
class | ArcIterator< ReplaceFst< Arc, StateTable, CacheStore > > |
class | StateIterator< ReplaceFst< Arc, StateTable, CacheStore > > |
class | ReplaceFstMatcher< Arc, StateTable, CacheStore > |
Additional Inherited Members | |
Static Public Member Functions inherited from fst::Fst< typename internal::ReplaceFstImpl< A, T, CacheStore >::Arc > | |
static Fst * | Read (std::istream &strm, const FstReadOptions &opts) |
static Fst * | Read (const std::string &source) |
Protected Member Functions inherited from fst::ImplToFst< internal::ReplaceFstImpl< A, T, CacheStore > > | |
ImplToFst (std::shared_ptr< internal::ReplaceFstImpl< A, T, CacheStore > > 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 internal::ReplaceFstImpl< A, T, CacheStore > * | GetImpl () const |
internal::ReplaceFstImpl< A, T, CacheStore > * | GetMutableImpl () const |
std::shared_ptr< internal::ReplaceFstImpl< A, T, CacheStore > > | GetSharedImpl () const |
bool | Unique () const |
void | SetImpl (std::shared_ptr< internal::ReplaceFstImpl< A, T, CacheStore > > impl) |
Protected Member Functions inherited from fst::Fst< typename internal::ReplaceFstImpl< A, T, CacheStore >::Arc > | |
bool | WriteFile (const std::string &source) const |
Definition at line 163 of file fst-decl.h.
using fst::ReplaceFst< A, T, CacheStore >::Arc = A |
using fst::ReplaceFst< A, T, CacheStore >::CacheImpl = internal::CacheBaseImpl<State, CacheStore> |
using fst::ReplaceFst< A, T, CacheStore >::Impl = internal::ReplaceFstImpl<Arc, StateTable, CacheStore> |
using fst::ReplaceFst< A, T, CacheStore >::Label = typename Arc::Label |
using fst::ReplaceFst< A, T, CacheStore >::State = typename CacheStore::State |
using fst::ReplaceFst< A, T, CacheStore >::StateId = typename Arc::StateId |
using fst::ReplaceFst< A, T, CacheStore >::StateTable = T |
using fst::ReplaceFst< A, T, CacheStore >::Store = CacheStore |
using fst::ReplaceFst< A, T, CacheStore >::Weight = typename Arc::Weight |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
|
inline |
|
inline |
|
inline |
|
inlineoverride |
|
inlineoverridevirtual |
Reimplemented from fst::Fst< typename internal::ReplaceFstImpl< A, T, CacheStore >::Arc >.
|
inlineoverride |
|
friend |
|
friend |
|
friend |