FST  openfst-1.6.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 (MatcherBase< Arc > *base)
 
 LookAheadMatcher (const LookAheadMatcher< FST > &matcher, bool safe=false)
 
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 675 of file lookahead-matcher.h.

Member Typedef Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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