FST  openfst-1.7.2
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::MultiEpsMatcher< M > Class Template Reference

#include <matcher.h>

Public Types

using FST = typename M::FST
 
using Arc = typename FST::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 MultiEpsMatcher (const FST &fst, MatchType match_type, uint32 flags=(kMultiEpsLoop|kMultiEpsList), M *matcher=nullptr, bool own_matcher=true)
 
 MultiEpsMatcher (const FST *fst, MatchType match_type, uint32 flags=(kMultiEpsLoop|kMultiEpsList), M *matcher=nullptr, bool own_matcher=true)
 
 MultiEpsMatcher (const MultiEpsMatcher< M > &matcher, bool safe=false)
 
 ~MultiEpsMatcher ()
 
MultiEpsMatcher< M > * Copy (bool safe=false) const
 
MatchType Type (bool test) const
 
void SetState (StateId state)
 
bool Find (Label label)
 
bool Done () const
 
const ArcValue () const
 
void Next ()
 
const FSTGetFst () const
 
uint64 Properties (uint64 props) const
 
const M * GetMatcher () const
 
Weight Final (StateId s) const
 
uint32 Flags () const
 
ssize_t Priority (StateId s)
 
void AddMultiEpsLabel (Label label)
 
void RemoveMultiEpsLabel (Label label)
 
void ClearMultiEpsLabels ()
 

Detailed Description

template<class M>
class fst::MultiEpsMatcher< M >

Definition at line 1237 of file matcher.h.

Member Typedef Documentation

template<class M>
using fst::MultiEpsMatcher< M >::Arc = typename FST::Arc

Definition at line 1240 of file matcher.h.

template<class M>
using fst::MultiEpsMatcher< M >::FST = typename M::FST

Definition at line 1239 of file matcher.h.

template<class M>
using fst::MultiEpsMatcher< M >::Label = typename Arc::Label

Definition at line 1241 of file matcher.h.

template<class M>
using fst::MultiEpsMatcher< M >::StateId = typename Arc::StateId

Definition at line 1242 of file matcher.h.

template<class M>
using fst::MultiEpsMatcher< M >::Weight = typename Arc::Weight

Definition at line 1243 of file matcher.h.

Constructor & Destructor Documentation

template<class M>
fst::MultiEpsMatcher< M >::MultiEpsMatcher ( const FST fst,
MatchType  match_type,
uint32  flags = (kMultiEpsLoop | kMultiEpsList),
M *  matcher = nullptr,
bool  own_matcher = true 
)
inline

Definition at line 1246 of file matcher.h.

template<class M>
fst::MultiEpsMatcher< M >::MultiEpsMatcher ( const FST fst,
MatchType  match_type,
uint32  flags = (kMultiEpsLoop | kMultiEpsList),
M *  matcher = nullptr,
bool  own_matcher = true 
)
inline

Definition at line 1256 of file matcher.h.

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

Definition at line 1266 of file matcher.h.

template<class M>
fst::MultiEpsMatcher< M >::~MultiEpsMatcher ( )
inline

Definition at line 1275 of file matcher.h.

Member Function Documentation

template<class M>
void fst::MultiEpsMatcher< M >::AddMultiEpsLabel ( Label  label)
inline

Definition at line 1329 of file matcher.h.

template<class M>
void fst::MultiEpsMatcher< M >::ClearMultiEpsLabels ( )
inline

Definition at line 1345 of file matcher.h.

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

Definition at line 1279 of file matcher.h.

template<class M>
bool fst::MultiEpsMatcher< M >::Done ( ) const
inline

Definition at line 1292 of file matcher.h.

template<class M>
Weight fst::MultiEpsMatcher< M >::Final ( StateId  s) const
inline

Definition at line 1323 of file matcher.h.

template<class M >
bool fst::MultiEpsMatcher< M >::Find ( Label  label)
inline

Definition at line 1376 of file matcher.h.

template<class M>
uint32 fst::MultiEpsMatcher< M >::Flags ( ) const
inline

Definition at line 1325 of file matcher.h.

template<class M>
const FST& fst::MultiEpsMatcher< M >::GetFst ( ) const
inline

Definition at line 1317 of file matcher.h.

template<class M>
const M* fst::MultiEpsMatcher< M >::GetMatcher ( ) const
inline

Definition at line 1321 of file matcher.h.

template<class M>
void fst::MultiEpsMatcher< M >::Next ( )
inline

Definition at line 1296 of file matcher.h.

template<class M>
ssize_t fst::MultiEpsMatcher< M >::Priority ( StateId  s)
inline

Definition at line 1327 of file matcher.h.

template<class M>
uint64 fst::MultiEpsMatcher< M >::Properties ( uint64  props) const
inline

Definition at line 1319 of file matcher.h.

template<class M>
void fst::MultiEpsMatcher< M >::RemoveMultiEpsLabel ( Label  label)
inline

Definition at line 1337 of file matcher.h.

template<class M>
void fst::MultiEpsMatcher< M >::SetState ( StateId  state)
inline

Definition at line 1285 of file matcher.h.

template<class M>
MatchType fst::MultiEpsMatcher< M >::Type ( bool  test) const
inline

Definition at line 1283 of file matcher.h.

template<class M>
const Arc& fst::MultiEpsMatcher< M >::Value ( ) const
inline

Definition at line 1294 of file matcher.h.


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