FST
openfst-1.8.3
OpenFst Library
|
#include <compose.h>
Public Types | |
using | Arc = A |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
using | Store = CacheStore |
using | State = typename CacheStore::State |
using | Impl = internal::ComposeFstImplBase< A, CacheStore > |
Public Types inherited from fst::ImplToFst< internal::ComposeFstImplBase< A, CacheStore > > | |
using | Arc = typename internal::ComposeFstImplBase< A, CacheStore >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Types inherited from fst::Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc > | |
using | Arc = typename internal::ComposeFstImplBase< A, CacheStore >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
ComposeFst (const Fst< Arc > &fst1, const Fst< Arc > &fst2, const CacheOptions &opts=CacheOptions()) | |
template<class Matcher , class Filter , class StateTuple > | |
ComposeFst (const Fst< Arc > &fst1, const Fst< Arc > &fst2, const ComposeFstOptions< Arc, Matcher, Filter, StateTuple > &opts) | |
template<class Matcher1 , class Matcher2 , class Filter , class StateTuple > | |
ComposeFst (const typename Matcher1::FST &fst1, const typename Matcher2::FST &fst2, const ComposeFstImplOptions< Matcher1, Matcher2, Filter, StateTuple, CacheStore > &opts) | |
ComposeFst (const ComposeFst &fst, bool safe=false) | |
ComposeFst * | 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 |
Public Member Functions inherited from fst::ImplToFst< internal::ComposeFstImplBase< A, 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::ComposeFstImplBase< A, 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 |
Protected Member Functions | |
ComposeFst (std::shared_ptr< Impl > impl) | |
Protected Member Functions inherited from fst::ImplToFst< internal::ComposeFstImplBase< A, CacheStore > > | |
ImplToFst (std::shared_ptr< internal::ComposeFstImplBase< A, 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::ComposeFstImplBase< A, CacheStore > * | GetImpl () const |
internal::ComposeFstImplBase< A, CacheStore > * | GetMutableImpl () const |
std::shared_ptr< internal::ComposeFstImplBase< A, CacheStore > > | GetSharedImpl () const |
bool | Unique () const |
void | SetImpl (std::shared_ptr< internal::ComposeFstImplBase< A, CacheStore > > impl) |
Protected Member Functions inherited from fst::Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc > | |
bool | WriteFile (const std::string &source) const |
Static Protected Member Functions | |
template<class Matcher1 , class Matcher2 , class Filter , class StateTuple > | |
static std::shared_ptr< Impl > | CreateBase2 (const typename Matcher1::FST &fst1, const typename Matcher2::FST &fst2, const ComposeFstImplOptions< Matcher1, Matcher2, Filter, StateTuple, CacheStore > &opts) |
template<class Matcher , class Filter , class StateTuple > | |
static std::shared_ptr< Impl > | CreateBase1 (const Fst< Arc > &fst1, const Fst< Arc > &fst2, const ComposeFstOptions< Arc, Matcher, Filter, StateTuple > &opts) |
static std::shared_ptr< Impl > | CreateBase (const Fst< Arc > &fst1, const Fst< Arc > &fst2, const CacheOptions &opts) |
Friends | |
class | ArcIterator< ComposeFst< Arc, CacheStore > > |
class | StateIterator< ComposeFst< Arc, CacheStore > > |
template<class , class , class > | |
class | ComposeFstMatcher |
Additional Inherited Members | |
Static Public Member Functions inherited from fst::Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc > | |
static Fst * | Read (std::istream &strm, const FstReadOptions &opts) |
static Fst * | Read (const std::string &source) |
using fst::ComposeFst< A, CacheStore >::Arc = A |
using fst::ComposeFst< A, CacheStore >::Impl = internal::ComposeFstImplBase<A, CacheStore> |
using fst::ComposeFst< A, CacheStore >::State = typename CacheStore::State |
using fst::ComposeFst< A, CacheStore >::StateId = typename Arc::StateId |
using fst::ComposeFst< A, CacheStore >::Store = CacheStore |
using fst::ComposeFst< A, CacheStore >::Weight = typename Arc::Weight |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicitprotected |
|
inlineoverridevirtual |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlineoverride |
|
inlineoverridevirtual |
Reimplemented from fst::Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc >.
|
inlineoverride |
|
friend |
|
friend |
|
friend |