FST  openfst-1.8.3
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 &matcher, bool safe=false)
 
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 ()
 
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 M, const char * Name, class Init>
class fst::LookAheadMatcher< MatcherFst< F, M, Name, Init > >

Definition at line 294 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 297 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 296 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 298 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 299 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 300 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 302 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< MatcherFst< F, M, Name, Init > > &  matcher,
bool  safe = false 
)
inline

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

Member Function Documentation

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

Definition at line 309 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 319 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 317 of file matcher-fst.h.

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

Definition at line 331 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 325 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 347 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 337 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 333 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 343 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 341 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 323 of file matcher-fst.h.

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

Definition at line 327 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 315 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 313 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 321 of file matcher-fst.h.


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