FST  openfst-1.7.0
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > > Class Template Reference

#include <matcher-fst.h>

Public Types

using FST = MatcherFst< F, M, Name, Init >
 
using Arc = typename F::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 LookAheadMatcher (const FST &fst, MatchType match_type)
 
 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 ()
 
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 M, const char * Name, class Init>
class fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >

Definition at line 254 of file matcher-fst.h.

Member Typedef Documentation

template<class F , class M , const char * Name, class Init >
using fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::Arc = typename F::Arc

Definition at line 257 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
using fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::FST = MatcherFst<F, M, Name, Init>

Definition at line 256 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
using fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::Label = typename Arc::Label

Definition at line 258 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
using fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::StateId = typename Arc::StateId

Definition at line 259 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
using fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::Weight = typename Arc::Weight

Definition at line 260 of file matcher-fst.h.

Constructor & Destructor Documentation

template<class F , class M , const char * Name, class Init >
fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::LookAheadMatcher ( const FST fst,
MatchType  match_type 
)
inline

Definition at line 262 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::LookAheadMatcher ( const LookAheadMatcher< FST > &  matcher,
bool  safe = false 
)
inline

Definition at line 265 of file matcher-fst.h.

Member Function Documentation

template<class F , class M , const char * Name, class Init >
LookAheadMatcher<FST>* fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::Copy ( bool  safe = false) const
inline

Definition at line 269 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
bool fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::Done ( ) const
inline

Definition at line 279 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
bool fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::Find ( Label  label)
inline

Definition at line 277 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
uint32 fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::Flags ( ) const
inline

Definition at line 289 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
const FST& fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::GetFst ( ) const
inline

Definition at line 285 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
void fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::InitLookAheadFst ( const Fst< Arc > &  fst,
bool  copy = false 
)
inline

Definition at line 305 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
bool fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::LookAheadFst ( const Fst< Arc > &  fst,
StateId  s 
)
inline

Definition at line 295 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
bool fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::LookAheadLabel ( Label  label) const
inline

Definition at line 291 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
bool fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::LookAheadPrefix ( Arc arc) const
inline

Definition at line 301 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
Weight fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::LookAheadWeight ( ) const
inline

Definition at line 299 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
void fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::Next ( )
inline

Definition at line 283 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
uint64 fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::Properties ( uint64  props) const
inline

Definition at line 287 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
void fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::SetState ( StateId  s)
inline

Definition at line 275 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
MatchType fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::Type ( bool  test) const
inline

Definition at line 273 of file matcher-fst.h.

template<class F , class M , const char * Name, class Init >
const Arc& fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >::Value ( ) const
inline

Definition at line 281 of file matcher-fst.h.


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