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

#include <lookahead-filter.h>

Public Types

using Arc = typename Filter::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using FST1 = typename Filter::FST1
 
using FST2 = typename Filter::FST2
 
using Matcher1 = MultiEpsMatcher< typename Filter::Matcher1 >
 
using Matcher2 = MultiEpsMatcher< typename Filter::Matcher2 >
 
using FilterState1 = typename Filter::FilterState
 
using FilterState2 = IntegerFilterState< Label >
 
using FilterState = PairFilterState< FilterState1, FilterState2 >
 

Public Member Functions

 PushLabelsComposeFilter (const FST1 &fst1, const FST2 &fst2, M1 *matcher1, M2 *matcher2)
 
 PushLabelsComposeFilter (const PushLabelsComposeFilter< Filter, M1, M2, MT > &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 *weight1, Weight *weight2) const
 
Matcher1GetMatcher1 ()
 
Matcher2GetMatcher2 ()
 
uint64_t Properties (uint64_t iprops) const
 

Detailed Description

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
class fst::PushLabelsComposeFilter< Filter, M1, M2, MT >

Definition at line 388 of file lookahead-filter.h.

Member Typedef Documentation

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
using fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::Arc = typename Filter::Arc

Definition at line 390 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
using fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::FilterState = PairFilterState<FilterState1, FilterState2>

Definition at line 401 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
using fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::FilterState1 = typename Filter::FilterState

Definition at line 399 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
using fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::FilterState2 = IntegerFilterState<Label>

Definition at line 400 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
using fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::FST1 = typename Filter::FST1

Definition at line 395 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
using fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::FST2 = typename Filter::FST2

Definition at line 396 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
using fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::Label = typename Arc::Label

Definition at line 391 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
using fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::Matcher1 = MultiEpsMatcher<typename Filter::Matcher1>

Definition at line 397 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
using fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::Matcher2 = MultiEpsMatcher<typename Filter::Matcher2>

Definition at line 398 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
using fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::StateId = typename Arc::StateId

Definition at line 392 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
using fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::Weight = typename Arc::Weight

Definition at line 393 of file lookahead-filter.h.

Constructor & Destructor Documentation

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::PushLabelsComposeFilter ( const FST1 fst1,
const FST2 fst2,
M1 *  matcher1,
M2 *  matcher2 
)
inline

Definition at line 403 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::PushLabelsComposeFilter ( const PushLabelsComposeFilter< Filter, M1, M2, MT > &  filter,
bool  safe = false 
)
inline

Definition at line 416 of file lookahead-filter.h.

Member Function Documentation

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
FilterState fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::FilterArc ( Arc arc1,
Arc arc2 
) const
inline

Definition at line 450 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
void fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::FilterFinal ( Weight weight1,
Weight weight2 
) const
inline

Definition at line 467 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
Matcher1* fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::GetMatcher1 ( )
inline

Definition at line 479 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
Matcher2* fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::GetMatcher2 ( )
inline

Definition at line 481 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
uint64_t fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::Properties ( uint64_t  iprops) const
inline

Definition at line 483 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
void fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::SetState ( StateId  s1,
StateId  s2,
const FilterState fs 
)
inline

Definition at line 434 of file lookahead-filter.h.

template<class Filter, class M1 = LookAheadMatcher<typename Filter::FST1>, class M2 = M1, MatchType MT = MATCH_BOTH>
FilterState fst::PushLabelsComposeFilter< Filter, M1, M2, MT >::Start ( ) const
inline

Definition at line 430 of file lookahead-filter.h.


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