FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::LookAheadMatcher< F > Class Template Reference

#include <lookahead-matcher.h>

Public Types

using FST = F
 
using Arc = typename FST::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using LBase = LookAheadMatcherBase< Arc >
 

Public Member Functions

 LookAheadMatcher (const FST &fst, MatchType match_type)
 
 LookAheadMatcher (const FST *fst, MatchType match_type)
 
 LookAheadMatcher (const LookAheadMatcher &matcher, bool safe=false)
 
 LookAheadMatcher (MatcherBase< Arc > *base)
 
LookAheadMatcherCopy (bool safe=false) const
 
MatchType Type (bool test) const
 
void SetState (StateId s)
 
bool Find (Label label)
 
bool Done () const
 
const ArcValue () const
 
void Next ()
 
Weight Final (StateId s) const
 
ssize_t Priority (StateId s)
 
const FSTGetFst () const
 
uint64_t Properties (uint64_t props) const
 
uint32_t Flags () const
 
bool LookAheadLabel (Label label) const
 
bool LookAheadFst (const Fst< Arc > &fst, StateId s)
 
Weight LookAheadWeight () const
 
bool LookAheadPrefix (Arc *arc) const
 
void InitLookAheadFst (const Fst< Arc > &fst, bool copy=false)
 

Detailed Description

template<class F>
class fst::LookAheadMatcher< F >

Definition at line 758 of file lookahead-matcher.h.

Member Typedef Documentation

template<class F>
using fst::LookAheadMatcher< F >::Arc = typename FST::Arc

Definition at line 761 of file lookahead-matcher.h.

template<class F>
using fst::LookAheadMatcher< F >::FST = F

Definition at line 760 of file lookahead-matcher.h.

template<class F>
using fst::LookAheadMatcher< F >::Label = typename Arc::Label

Definition at line 762 of file lookahead-matcher.h.

template<class F>
using fst::LookAheadMatcher< F >::LBase = LookAheadMatcherBase<Arc>

Definition at line 765 of file lookahead-matcher.h.

template<class F>
using fst::LookAheadMatcher< F >::StateId = typename Arc::StateId

Definition at line 763 of file lookahead-matcher.h.

template<class F>
using fst::LookAheadMatcher< F >::Weight = typename Arc::Weight

Definition at line 764 of file lookahead-matcher.h.

Constructor & Destructor Documentation

template<class F>
fst::LookAheadMatcher< F >::LookAheadMatcher ( const FST fst,
MatchType  match_type 
)
inline

Definition at line 768 of file lookahead-matcher.h.

template<class F>
fst::LookAheadMatcher< F >::LookAheadMatcher ( const FST fst,
MatchType  match_type 
)
inline

Definition at line 778 of file lookahead-matcher.h.

template<class F>
fst::LookAheadMatcher< F >::LookAheadMatcher ( const LookAheadMatcher< F > &  matcher,
bool  safe = false 
)
inline

Definition at line 784 of file lookahead-matcher.h.

template<class F>
fst::LookAheadMatcher< F >::LookAheadMatcher ( MatcherBase< Arc > *  base)
inlineexplicit

Definition at line 788 of file lookahead-matcher.h.

Member Function Documentation

template<class F>
LookAheadMatcher* fst::LookAheadMatcher< F >::Copy ( bool  safe = false) const
inline

Definition at line 791 of file lookahead-matcher.h.

template<class F>
bool fst::LookAheadMatcher< F >::Done ( ) const
inline

Definition at line 801 of file lookahead-matcher.h.

template<class F>
Weight fst::LookAheadMatcher< F >::Final ( StateId  s) const
inline

Definition at line 807 of file lookahead-matcher.h.

template<class F>
bool fst::LookAheadMatcher< F >::Find ( Label  label)
inline

Definition at line 799 of file lookahead-matcher.h.

template<class F>
uint32_t fst::LookAheadMatcher< F >::Flags ( ) const
inline

Definition at line 815 of file lookahead-matcher.h.

template<class F>
const FST& fst::LookAheadMatcher< F >::GetFst ( ) const
inline

Definition at line 811 of file lookahead-matcher.h.

template<class F>
void fst::LookAheadMatcher< F >::InitLookAheadFst ( const Fst< Arc > &  fst,
bool  copy = false 
)
inline

Definition at line 849 of file lookahead-matcher.h.

template<class F>
bool fst::LookAheadMatcher< F >::LookAheadFst ( const Fst< Arc > &  fst,
StateId  s 
)
inline

Definition at line 825 of file lookahead-matcher.h.

template<class F>
bool fst::LookAheadMatcher< F >::LookAheadLabel ( Label  label) const
inline

Definition at line 817 of file lookahead-matcher.h.

template<class F>
bool fst::LookAheadMatcher< F >::LookAheadPrefix ( Arc arc) const
inline

Definition at line 841 of file lookahead-matcher.h.

template<class F>
Weight fst::LookAheadMatcher< F >::LookAheadWeight ( ) const
inline

Definition at line 833 of file lookahead-matcher.h.

template<class F>
void fst::LookAheadMatcher< F >::Next ( )
inline

Definition at line 805 of file lookahead-matcher.h.

template<class F>
ssize_t fst::LookAheadMatcher< F >::Priority ( StateId  s)
inline

Definition at line 809 of file lookahead-matcher.h.

template<class F>
uint64_t fst::LookAheadMatcher< F >::Properties ( uint64_t  props) const
inline

Definition at line 813 of file lookahead-matcher.h.

template<class F>
void fst::LookAheadMatcher< F >::SetState ( StateId  s)
inline

Definition at line 797 of file lookahead-matcher.h.

template<class F>
MatchType fst::LookAheadMatcher< F >::Type ( bool  test) const
inline

Definition at line 795 of file lookahead-matcher.h.

template<class F>
const Arc& fst::LookAheadMatcher< F >::Value ( ) const
inline

Definition at line 803 of file lookahead-matcher.h.


The documentation for this class was generated from the following file: