FST
openfst-1.8.4
OpenFst Library
|
#include <sigma-fst.h>
Public Types | |
using | FST = typename M::FST |
using | Arc = typename M::Arc |
using | StateId = typename Arc::StateId |
using | Label = typename Arc::Label |
using | Weight = typename Arc::Weight |
using | MatcherData = internal::SigmaFstMatcherData< Label > |
![]() | |
using | FST = typename M::FST |
using | Arc = typename FST::Arc |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = M::Arc |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
SigmaFstMatcher (const FST &fst, MatchType match_type, std::shared_ptr< MatcherData > data=std::make_shared< MatcherData >()) | |
SigmaFstMatcher (const FST *fst, MatchType match_type, std::shared_ptr< MatcherData > data=std::make_shared< MatcherData >()) | |
SigmaFstMatcher (const SigmaFstMatcher< M, flags > &matcher, bool safe=false) | |
SigmaFstMatcher< M, flags > * | Copy (bool safe=false) const override |
const MatcherData * | GetData () const |
std::shared_ptr< MatcherData > | GetSharedData () const |
![]() | |
SigmaMatcher (const FST &fst, MatchType match_type, Label sigma_label=kNoLabel, MatcherRewriteMode rewrite_mode=MATCHER_REWRITE_AUTO, M *matcher=nullptr) | |
SigmaMatcher (const FST *fst, MatchType match_type, Label sigma_label=kNoLabel, MatcherRewriteMode rewrite_mode=MATCHER_REWRITE_AUTO, M *matcher=nullptr) | |
SigmaMatcher (const SigmaMatcher &matcher, bool safe=false) | |
SigmaMatcher * | Copy (bool safe=false) const override |
MatchType | Type (bool test) const override |
void | SetState (StateId s) final |
bool | Find (Label match_label) final |
bool | Done () const final |
const Arc & | Value () const final |
void | Next () final |
Weight | Final (StateId s) const final |
ssize_t | Priority (StateId s) final |
const FST & | GetFst () const override |
uint64_t | Properties (uint64_t props) const override |
uint32_t | Flags () const override |
Label | SigmaLabel () const |
![]() | |
virtual | ~MatcherBase ()=default |
Static Public Attributes | |
static constexpr uint8_t | kFlags = flags |
Definition at line 95 of file sigma-fst.h.
using fst::SigmaFstMatcher< M, flags >::Arc = typename M::Arc |
Definition at line 98 of file sigma-fst.h.
using fst::SigmaFstMatcher< M, flags >::FST = typename M::FST |
Definition at line 97 of file sigma-fst.h.
using fst::SigmaFstMatcher< M, flags >::Label = typename Arc::Label |
Definition at line 100 of file sigma-fst.h.
using fst::SigmaFstMatcher< M, flags >::MatcherData = internal::SigmaFstMatcherData<Label> |
Definition at line 102 of file sigma-fst.h.
using fst::SigmaFstMatcher< M, flags >::StateId = typename Arc::StateId |
Definition at line 99 of file sigma-fst.h.
using fst::SigmaFstMatcher< M, flags >::Weight = typename Arc::Weight |
Definition at line 101 of file sigma-fst.h.
|
inline |
Definition at line 107 of file sigma-fst.h.
|
inline |
Definition at line 118 of file sigma-fst.h.
|
inline |
Definition at line 129 of file sigma-fst.h.
|
inlineoverridevirtual |
Implements fst::MatcherBase< M::Arc >.
Definition at line 132 of file sigma-fst.h.
|
inline |
Definition at line 136 of file sigma-fst.h.
|
inline |
Definition at line 138 of file sigma-fst.h.
|
static |
Definition at line 104 of file sigma-fst.h.