FST
openfst-1.8.2
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 | Store = DefaultCacheStore< Arc > |
using | State = typename Store::State |
using | Impl = internal::RelabelFstImpl< Arc > |
![]() | |
using | Arc = typename internal::RelabelFstImpl< A >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename internal::RelabelFstImpl< A >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
RelabelFst (const Fst< Arc > &fst, const std::vector< std::pair< Label, Label >> &ipairs, const std::vector< std::pair< Label, Label >> &opairs, const RelabelFstOptions &opts=RelabelFstOptions()) | |
RelabelFst (const Fst< Arc > &fst, const SymbolTable *new_isymbols, const SymbolTable *new_osymbols, const RelabelFstOptions &opts=RelabelFstOptions()) | |
RelabelFst (const Fst< Arc > &fst, const SymbolTable *old_isymbols, const SymbolTable *new_isymbols, const SymbolTable *old_osymbols, const SymbolTable *new_osymbols, const RelabelFstOptions &opts=RelabelFstOptions()) | |
RelabelFst (const RelabelFst &fst, bool safe=false) | |
RelabelFst * | Copy (bool safe=false) const override |
void | InitStateIterator (StateIteratorData< Arc > *data) const override |
void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const override |
![]() | |
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 () |
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< RelabelFst< A > > |
class | StateIterator< RelabelFst< A > > |
Additional Inherited Members | |
![]() | |
static Fst * | Read (std::istream &strm, const FstReadOptions &opts) |
static Fst * | Read (const std::string &source) |
![]() | |
ImplToFst (std::shared_ptr< internal::RelabelFstImpl< A > > 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::RelabelFstImpl< A > * | GetImpl () const |
internal::RelabelFstImpl< A > * | GetMutableImpl () const |
std::shared_ptr< internal::RelabelFstImpl< A > > | GetSharedImpl () const |
bool | Unique () const |
void | SetImpl (std::shared_ptr< internal::RelabelFstImpl< A > > impl) |
![]() | |
bool | WriteFile (const std::string &source) const |
Definition at line 156 of file fst-decl.h.
using fst::RelabelFst< A >::Arc = A |
using fst::RelabelFst< A >::Impl = internal::RelabelFstImpl<Arc> |
using fst::RelabelFst< A >::Label = typename Arc::Label |
using fst::RelabelFst< A >::State = typename Store::State |
using fst::RelabelFst< A >::StateId = typename Arc::StateId |
using fst::RelabelFst< A >::Store = DefaultCacheStore<Arc> |
using fst::RelabelFst< A >::Weight = typename Arc::Weight |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
|
inlineoverride |
|
inlineoverride |
|
friend |
|
friend |