FST  openfst-1.7.1
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 450 of file compose-filter.h.

Member Typedef Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 461 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 463 of file compose-filter.h.

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

Definition at line 469 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 479 of file compose-filter.h.

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

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

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

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

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

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

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

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

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

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

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

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


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