FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::MultiEpsFilter< Filter > Class Template Reference

#include <compose-filter.h>

Public Types

using Matcher1 = typename Filter::Matcher1
 
using Matcher2 = typename Filter::Matcher2
 
using FST1 = typename Filter::FST1
 
using FST2 = typename Filter::FST2
 
using FilterState = typename Filter::FilterState
 
using Arc = typename Filter::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 MultiEpsFilter (const FST1 &fst1, const FST2 &fst2, Matcher1 *matcher1=nullptr, Matcher2 *matcher2=nullptr, bool keep_multi_eps=false)
 
 MultiEpsFilter (const MultiEpsFilter< Filter > &filter, bool safe=false)
 
FilterState Start () const
 
void SetState (StateId s1, StateId s2, const FilterState &fs)
 
FilterState FilterArc (Arc *arc1, Arc *arc2) const
 
void FilterFinal (Weight *w1, Weight *w2) const
 
Matcher1GetMatcher1 ()
 
Matcher2GetMatcher2 ()
 
uint64 Properties (uint64 iprops) const
 

Detailed Description

template<class Filter>
class fst::MultiEpsFilter< Filter >

Definition at line 513 of file compose-filter.h.

Member Typedef Documentation

template<class Filter>
using fst::MultiEpsFilter< Filter >::Arc = typename Filter::Arc

Definition at line 521 of file compose-filter.h.

template<class Filter>
using fst::MultiEpsFilter< Filter >::FilterState = typename Filter::FilterState

Definition at line 519 of file compose-filter.h.

template<class Filter>
using fst::MultiEpsFilter< Filter >::FST1 = typename Filter::FST1

Definition at line 517 of file compose-filter.h.

template<class Filter>
using fst::MultiEpsFilter< Filter >::FST2 = typename Filter::FST2

Definition at line 518 of file compose-filter.h.

template<class Filter>
using fst::MultiEpsFilter< Filter >::Label = typename Arc::Label

Definition at line 522 of file compose-filter.h.

template<class Filter>
using fst::MultiEpsFilter< Filter >::Matcher1 = typename Filter::Matcher1

Definition at line 515 of file compose-filter.h.

template<class Filter>
using fst::MultiEpsFilter< Filter >::Matcher2 = typename Filter::Matcher2

Definition at line 516 of file compose-filter.h.

template<class Filter>
using fst::MultiEpsFilter< Filter >::StateId = typename Arc::StateId

Definition at line 523 of file compose-filter.h.

template<class Filter>
using fst::MultiEpsFilter< Filter >::Weight = typename Arc::Weight

Definition at line 524 of file compose-filter.h.

Constructor & Destructor Documentation

template<class Filter>
fst::MultiEpsFilter< Filter >::MultiEpsFilter ( const FST1 fst1,
const FST2 fst2,
Matcher1 matcher1 = nullptr,
Matcher2 matcher2 = nullptr,
bool  keep_multi_eps = false 
)
inline

Definition at line 526 of file compose-filter.h.

template<class Filter>
fst::MultiEpsFilter< Filter >::MultiEpsFilter ( const MultiEpsFilter< Filter > &  filter,
bool  safe = false 
)
inline

Definition at line 532 of file compose-filter.h.

Member Function Documentation

template<class Filter>
FilterState fst::MultiEpsFilter< Filter >::FilterArc ( Arc arc1,
Arc arc2 
) const
inline

Definition at line 542 of file compose-filter.h.

template<class Filter>
void fst::MultiEpsFilter< Filter >::FilterFinal ( Weight w1,
Weight w2 
) const
inline

Definition at line 551 of file compose-filter.h.

template<class Filter>
Matcher1* fst::MultiEpsFilter< Filter >::GetMatcher1 ( )
inline

Definition at line 555 of file compose-filter.h.

template<class Filter>
Matcher2* fst::MultiEpsFilter< Filter >::GetMatcher2 ( )
inline

Definition at line 557 of file compose-filter.h.

template<class Filter>
uint64 fst::MultiEpsFilter< Filter >::Properties ( uint64  iprops) const
inline

Definition at line 559 of file compose-filter.h.

template<class Filter>
void fst::MultiEpsFilter< Filter >::SetState ( StateId  s1,
StateId  s2,
const FilterState fs 
)
inline

Definition at line 538 of file compose-filter.h.

template<class Filter>
FilterState fst::MultiEpsFilter< Filter >::Start ( ) const
inline

Definition at line 536 of file compose-filter.h.


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