FST  openfst-1.7.1
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< FST > &matcher, bool safe=false)
 
 LookAheadMatcher (MatcherBase< Arc > *base)
 
LookAheadMatcher< FST > * Copy (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 Properties (uint64 props) const
 
uint32 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 720 of file lookahead-matcher.h.

Member Typedef Documentation

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

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

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

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

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

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

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

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

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

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

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

Definition at line 726 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 730 of file lookahead-matcher.h.

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

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

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

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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