FST  openfst-1.6.9
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 1226 of file matcher.h.

Member Typedef Documentation

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

Definition at line 1229 of file matcher.h.

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

Definition at line 1228 of file matcher.h.

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

Definition at line 1230 of file matcher.h.

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

Definition at line 1231 of file matcher.h.

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

Definition at line 1232 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 1235 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 1245 of file matcher.h.

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

Definition at line 1255 of file matcher.h.

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

Definition at line 1264 of file matcher.h.

Member Function Documentation

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

Definition at line 1318 of file matcher.h.

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

Definition at line 1334 of file matcher.h.

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

Definition at line 1268 of file matcher.h.

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

Definition at line 1281 of file matcher.h.

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

Definition at line 1312 of file matcher.h.

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

Definition at line 1365 of file matcher.h.

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

Definition at line 1314 of file matcher.h.

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

Definition at line 1306 of file matcher.h.

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

Definition at line 1310 of file matcher.h.

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

Definition at line 1285 of file matcher.h.

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

Definition at line 1316 of file matcher.h.

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

Definition at line 1308 of file matcher.h.

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

Definition at line 1326 of file matcher.h.

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

Definition at line 1274 of file matcher.h.

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

Definition at line 1272 of file matcher.h.

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

Definition at line 1283 of file matcher.h.


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