FST  openfst-1.8.1
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 &matcher, bool safe=false)
 
 ~MultiEpsMatcher ()
 
MultiEpsMatcherCopy (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 1243 of file matcher.h.

Member Typedef Documentation

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

Definition at line 1246 of file matcher.h.

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

Definition at line 1245 of file matcher.h.

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

Definition at line 1247 of file matcher.h.

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

Definition at line 1248 of file matcher.h.

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

Definition at line 1249 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 1252 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 1262 of file matcher.h.

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

Definition at line 1272 of file matcher.h.

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

Definition at line 1281 of file matcher.h.

Member Function Documentation

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

Definition at line 1335 of file matcher.h.

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

Definition at line 1351 of file matcher.h.

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

Definition at line 1285 of file matcher.h.

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

Definition at line 1298 of file matcher.h.

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

Definition at line 1329 of file matcher.h.

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

Definition at line 1382 of file matcher.h.

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

Definition at line 1331 of file matcher.h.

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

Definition at line 1323 of file matcher.h.

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

Definition at line 1327 of file matcher.h.

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

Definition at line 1302 of file matcher.h.

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

Definition at line 1333 of file matcher.h.

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

Definition at line 1325 of file matcher.h.

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

Definition at line 1343 of file matcher.h.

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

Definition at line 1291 of file matcher.h.

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

Definition at line 1289 of file matcher.h.

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

Definition at line 1300 of file matcher.h.


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