FST  openfst-1.6.9
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::AltSequenceComposeFilter< M1, M2 > Class Template Reference

#include <compose-filter.h>

Public Types

using Matcher1 = M1
 
using Matcher2 = M2
 
using FST1 = typename M1::FST
 
using FST2 = typename M2::FST
 
using FilterState = CharFilterState
 
using Arc = typename FST1::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 AltSequenceComposeFilter (const FST1 &fst1, const FST2 &fst2, Matcher1 *matcher1=nullptr, Matcher2 *matcher2=nullptr)
 
 AltSequenceComposeFilter (const AltSequenceComposeFilter< Matcher1, Matcher2 > &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 *, Weight *) const
 
Matcher1GetMatcher1 ()
 
Matcher2GetMatcher2 ()
 
uint64 Properties (uint64 props) const
 

Detailed Description

template<class M1, class M2>
class fst::AltSequenceComposeFilter< M1, M2 >

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

Member Typedef Documentation

template<class M1, class M2>
using fst::AltSequenceComposeFilter< M1, M2 >::Arc = typename FST1::Arc

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

template<class M1, class M2>
using fst::AltSequenceComposeFilter< M1, M2 >::FilterState = CharFilterState

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

template<class M1, class M2>
using fst::AltSequenceComposeFilter< M1, M2 >::FST1 = typename M1::FST

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

template<class M1, class M2>
using fst::AltSequenceComposeFilter< M1, M2 >::FST2 = typename M2::FST

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

template<class M1, class M2>
using fst::AltSequenceComposeFilter< M1, M2 >::Label = typename Arc::Label

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

template<class M1, class M2>
using fst::AltSequenceComposeFilter< M1, M2 >::Matcher1 = M1

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

template<class M1, class M2>
using fst::AltSequenceComposeFilter< M1, M2 >::Matcher2 = M2

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

template<class M1, class M2>
using fst::AltSequenceComposeFilter< M1, M2 >::StateId = typename Arc::StateId

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

template<class M1, class M2>
using fst::AltSequenceComposeFilter< M1, M2 >::Weight = typename Arc::Weight

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

Constructor & Destructor Documentation

template<class M1, class M2>
fst::AltSequenceComposeFilter< M1, M2 >::AltSequenceComposeFilter ( const FST1 fst1,
const FST2 fst2,
Matcher1 matcher1 = nullptr,
Matcher2 matcher2 = nullptr 
)
inline

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

template<class M1, class M2>
fst::AltSequenceComposeFilter< M1, M2 >::AltSequenceComposeFilter ( const AltSequenceComposeFilter< Matcher1, Matcher2 > &  filter,
bool  safe = false 
)
inline

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

Member Function Documentation

template<class M1, class M2>
FilterState fst::AltSequenceComposeFilter< M1, M2 >::FilterArc ( Arc arc1,
Arc arc2 
) const
inline

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

template<class M1, class M2>
void fst::AltSequenceComposeFilter< M1, M2 >::FilterFinal ( Weight ,
Weight  
) const
inline

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

template<class M1, class M2>
Matcher1* fst::AltSequenceComposeFilter< M1, M2 >::GetMatcher1 ( )
inline

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

template<class M1, class M2>
Matcher2* fst::AltSequenceComposeFilter< M1, M2 >::GetMatcher2 ( )
inline

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

template<class M1, class M2>
uint64 fst::AltSequenceComposeFilter< M1, M2 >::Properties ( uint64  props) const
inline

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

template<class M1, class M2>
void fst::AltSequenceComposeFilter< M1, M2 >::SetState ( StateId  s1,
StateId  s2,
const FilterState fs 
)
inline

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

template<class M1, class M2>
FilterState fst::AltSequenceComposeFilter< M1, M2 >::Start ( ) const
inline

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


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