FST
openfst-1.8.2.post1
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 = internal::LinearTaggerFstImpl< A > |
![]() | |
using | Arc = typename internal::LinearTaggerFstImpl< A >::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 () |
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 (const std::string &source) |
Friends | |
class | ArcIterator< LinearTaggerFst< A > > |
class | StateIterator< LinearTaggerFst< A > > |
class | LinearFstMatcherTpl< LinearTaggerFst< A > > |
Additional Inherited Members | |
![]() | |
ImplToFst (std::shared_ptr< internal::LinearTaggerFstImpl< 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::LinearTaggerFstImpl< A > * | GetImpl () const |
internal::LinearTaggerFstImpl< A > * | GetMutableImpl () const |
std::shared_ptr< internal::LinearTaggerFstImpl< A > > | GetSharedImpl () const |
bool | Unique () const |
void | SetImpl (std::shared_ptr< internal::LinearTaggerFstImpl< A > > impl) |
![]() | |
bool | WriteFile (const std::string &source) const |
Definition at line 460 of file linear-fst.h.
typedef A fst::LinearTaggerFst< A >::Arc |
Definition at line 466 of file linear-fst.h.
using fst::LinearTaggerFst< A >::Impl = internal::LinearTaggerFstImpl<A> |
Definition at line 472 of file linear-fst.h.
typedef A::Label fst::LinearTaggerFst< A >::Label |
Definition at line 467 of file linear-fst.h.
typedef Store::State fst::LinearTaggerFst< A >::State |
Definition at line 471 of file linear-fst.h.
typedef A::StateId fst::LinearTaggerFst< A >::StateId |
Definition at line 469 of file linear-fst.h.
typedef DefaultCacheStore<A> fst::LinearTaggerFst< A >::Store |
Definition at line 470 of file linear-fst.h.
typedef A::Weight fst::LinearTaggerFst< A >::Weight |
Definition at line 468 of file linear-fst.h.
|
inline |
Definition at line 474 of file linear-fst.h.
|
inlineexplicit |
Definition at line 476 of file linear-fst.h.
|
inlineexplicit |
Definition at line 482 of file linear-fst.h.
|
inline |
Definition at line 488 of file linear-fst.h.
|
inlineoverridevirtual |
Implements fst::Fst< typename internal::LinearTaggerFstImpl< A >::Arc >.
Definition at line 492 of file linear-fst.h.
|
inlineoverride |
Definition at line 498 of file linear-fst.h.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< typename internal::LinearTaggerFstImpl< A >::Arc >.
Definition at line 502 of file linear-fst.h.
|
inlineoverride |
Definition at line 577 of file linear-fst.h.
|
inlinestatic |
Definition at line 506 of file linear-fst.h.
|
inlinestatic |
Definition at line 520 of file linear-fst.h.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< typename internal::LinearTaggerFstImpl< A >::Arc >.
Definition at line 526 of file linear-fst.h.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< typename internal::LinearTaggerFstImpl< A >::Arc >.
Definition at line 540 of file linear-fst.h.
|
friend |
Definition at line 462 of file linear-fst.h.
|
friend |
Definition at line 464 of file linear-fst.h.
|
friend |
Definition at line 463 of file linear-fst.h.