FST
openfst-1.8.4
OpenFst Library
|
#include <linear-fst.h>
Public Types | |
typedef A | Arc |
typedef A::Label | Label |
typedef A::Weight | Weight |
typedef A::StateId | StateId |
typedef DefaultCacheStore< A > | Store |
typedef Store::State | State |
using | Impl = I |
![]() | |
using | Impl = internal::LinearTaggerFstImpl< A > |
using | Arc = typename Impl::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename internal::LinearTaggerFstImpl< A >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
LinearTaggerFst () | |
LinearTaggerFst (LinearFstData< A > *data, const SymbolTable *isyms=nullptr, const SymbolTable *osyms=nullptr, CacheOptions opts=CacheOptions()) | |
LinearTaggerFst (const Fst< A > &fst) | |
LinearTaggerFst (const LinearTaggerFst< A > &fst, bool safe=false) | |
LinearTaggerFst< A > * | Copy (bool safe=false) const override |
void | InitStateIterator (StateIteratorData< A > *data) const override |
void | InitArcIterator (StateId s, ArcIteratorData< A > *data) const override |
MatcherBase< A > * | InitMatcher (MatchType match_type) const override |
bool | Write (const std::string &source) const override |
bool | Write (std::ostream &strm, const FstWriteOptions &opts) 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 ()=default |
virtual std::optional< StateId > | NumStatesIfKnown () const |
virtual void | InitStateIterator (StateIteratorData< Arc > *data) const =0 |
virtual void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const =0 |
Static Public Member Functions | |
static LinearTaggerFst< A > * | Read (const std::string &source) |
static LinearTaggerFst< A > * | Read (std::istream &in, const FstReadOptions &opts) |
![]() | |
static Fst * | Read (std::istream &strm, const FstReadOptions &opts) |
static Fst * | Read (std::string_view source) |
Friends | |
class | ArcIterator< LinearTaggerFst< A > > |
class | StateIterator< LinearTaggerFst< A > > |
class | LinearFstMatcherTpl< LinearTaggerFst< A > > |
Additional Inherited Members | |
![]() | |
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 |
Definition at line 472 of file linear-fst.h.
typedef A fst::LinearTaggerFst< A >::Arc |
Definition at line 480 of file linear-fst.h.
using fst::ImplToFst< I, FST >::Impl = I |
Definition at line 43 of file impl-to-fst.h.
typedef A::Label fst::LinearTaggerFst< A >::Label |
Definition at line 481 of file linear-fst.h.
typedef Store::State fst::LinearTaggerFst< A >::State |
Definition at line 485 of file linear-fst.h.
typedef A::StateId fst::LinearTaggerFst< A >::StateId |
Definition at line 483 of file linear-fst.h.
typedef DefaultCacheStore<A> fst::LinearTaggerFst< A >::Store |
Definition at line 484 of file linear-fst.h.
typedef A::Weight fst::LinearTaggerFst< A >::Weight |
Definition at line 482 of file linear-fst.h.
|
inline |
Definition at line 488 of file linear-fst.h.
|
inlineexplicit |
Definition at line 490 of file linear-fst.h.
|
inlineexplicit |
Definition at line 496 of file linear-fst.h.
|
inline |
Definition at line 501 of file linear-fst.h.
|
inlineoverridevirtual |
Implements fst::Fst< typename internal::LinearTaggerFstImpl< A >::Arc >.
Definition at line 505 of file linear-fst.h.
|
inlineoverride |
Definition at line 511 of file linear-fst.h.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< typename internal::LinearTaggerFstImpl< A >::Arc >.
Definition at line 515 of file linear-fst.h.
|
inlineoverride |
Definition at line 589 of file linear-fst.h.
|
inlinestatic |
Definition at line 519 of file linear-fst.h.
|
inlinestatic |
Definition at line 533 of file linear-fst.h.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< typename internal::LinearTaggerFstImpl< A >::Arc >.
Definition at line 539 of file linear-fst.h.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< typename internal::LinearTaggerFstImpl< A >::Arc >.
Definition at line 553 of file linear-fst.h.
|
friend |
Definition at line 476 of file linear-fst.h.
|
friend |
Definition at line 478 of file linear-fst.h.
|
friend |
Definition at line 477 of file linear-fst.h.