FST
openfst-1.8.2.post1
OpenFst Library
|
#include <factor-weight.h>
Public Types | |
using | Arc = A |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
using | Store = DefaultCacheStore< Arc > |
using | State = typename Store::State |
using | Impl = internal::FactorWeightFstImpl< Arc, FactorIterator > |
![]() | |
using | Arc = typename internal::FactorWeightFstImpl< A, FactorIterator >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename internal::FactorWeightFstImpl< A, FactorIterator >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
FactorWeightFst (const Fst< Arc > &fst) | |
FactorWeightFst (const Fst< Arc > &fst, const FactorWeightOptions< Arc > &opts) | |
FactorWeightFst (const FactorWeightFst &fst, bool copy) | |
FactorWeightFst * | Copy (bool copy=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< FactorWeightFst< Arc, FactorIterator > > |
class | StateIterator< FactorWeightFst< Arc, FactorIterator > > |
Additional Inherited Members | |
![]() | |
static Fst * | Read (std::istream &strm, const FstReadOptions &opts) |
static Fst * | Read (const std::string &source) |
![]() | |
ImplToFst (std::shared_ptr< internal::FactorWeightFstImpl< A, FactorIterator > > 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::FactorWeightFstImpl< A, FactorIterator > * | GetImpl () const |
internal::FactorWeightFstImpl< A, FactorIterator > * | GetMutableImpl () const |
std::shared_ptr< internal::FactorWeightFstImpl< A, FactorIterator > > | GetSharedImpl () const |
bool | Unique () const |
void | SetImpl (std::shared_ptr< internal::FactorWeightFstImpl< A, FactorIterator > > impl) |
![]() | |
bool | WriteFile (const std::string &source) const |
Definition at line 456 of file factor-weight.h.
using fst::FactorWeightFst< A, FactorIterator >::Arc = A |
Definition at line 459 of file factor-weight.h.
using fst::FactorWeightFst< A, FactorIterator >::Impl = internal::FactorWeightFstImpl<Arc, FactorIterator> |
Definition at line 465 of file factor-weight.h.
using fst::FactorWeightFst< A, FactorIterator >::State = typename Store::State |
Definition at line 464 of file factor-weight.h.
using fst::FactorWeightFst< A, FactorIterator >::StateId = typename Arc::StateId |
Definition at line 460 of file factor-weight.h.
using fst::FactorWeightFst< A, FactorIterator >::Store = DefaultCacheStore<Arc> |
Definition at line 463 of file factor-weight.h.
using fst::FactorWeightFst< A, FactorIterator >::Weight = typename Arc::Weight |
Definition at line 461 of file factor-weight.h.
|
inlineexplicit |
Definition at line 470 of file factor-weight.h.
|
inline |
Definition at line 474 of file factor-weight.h.
|
inline |
Definition at line 478 of file factor-weight.h.
|
inlineoverridevirtual |
Implements fst::Fst< typename internal::FactorWeightFstImpl< A, FactorIterator >::Arc >.
Definition at line 482 of file factor-weight.h.
|
inlineoverride |
Definition at line 488 of file factor-weight.h.
|
inlineoverride |
Definition at line 524 of file factor-weight.h.
|
friend |
Definition at line 467 of file factor-weight.h.
|
friend |
Definition at line 468 of file factor-weight.h.