FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::MPdtComposeFstOptions< Arc, left_pdt > Class Template Reference

#include <compose.h>

Inheritance diagram for fst::MPdtComposeFstOptions< Arc, left_pdt >:
Inheritance graph
[legend]
Collaboration diagram for fst::MPdtComposeFstOptions< Arc, left_pdt >:
Collaboration graph
[legend]

Public Types

using Label = typename Arc::Label
 
using MPdtMatcher = ParenMatcher< Fst< Arc >>
 
using MPdtFilter = MPdtParenFilter< AltSequenceComposeFilter< MPdtMatcher >>
 

Public Member Functions

 MPdtComposeFstOptions (const Fst< Arc > &ifst1, const std::vector< std::pair< Label, Label >> &parens, const std::vector< typename Arc::Label > &assignments, const Fst< Arc > &ifst2, bool expand=false, bool keep_parens=true)
 
- Public Member Functions inherited from fst::ComposeFstOptions< Arc, ParenMatcher< Fst< Arc > >, MPdtParenFilter< AltSequenceComposeFilter< ParenMatcher< Fst< Arc > > > > >
 ComposeFstOptions (const CacheOptions &opts=CacheOptions(), ParenMatcher< Fst< Arc > > *matcher1=nullptr, ParenMatcher< Fst< Arc > > *matcher2=nullptr, MPdtParenFilter< AltSequenceComposeFilter< ParenMatcher< Fst< Arc > > > > *filter=nullptr, GenericComposeStateTable< Arc, typename MPdtParenFilter< AltSequenceComposeFilter< ParenMatcher< Fst< Arc > > > >::FilterState > *state_table=nullptr)
 
- Public Member Functions inherited from fst::CacheOptions
 CacheOptions (bool gc=FST_FLAGS_fst_default_cache_gc, size_t gc_limit=FST_FLAGS_fst_default_cache_gc_limit)
 

Additional Inherited Members

- Public Attributes inherited from fst::ComposeFstOptions< Arc, ParenMatcher< Fst< Arc > >, MPdtParenFilter< AltSequenceComposeFilter< ParenMatcher< Fst< Arc > > > > >
ParenMatcher< Fst< Arc > > * matcher1
 
ParenMatcher< Fst< Arc > > * matcher2
 
MPdtParenFilter< AltSequenceComposeFilter< ParenMatcher< Fst< Arc > > > > * filter
 
GenericComposeStateTable< Arc, typename MPdtParenFilter< AltSequenceComposeFilter< ParenMatcher< Fst< Arc > > > >::FilterState > * state_table
 
- Public Attributes inherited from fst::CacheOptions
bool gc
 
size_t gc_limit
 

Detailed Description

template<class Arc, bool left_pdt = true>
class fst::MPdtComposeFstOptions< Arc, left_pdt >

Definition at line 182 of file compose.h.

Member Typedef Documentation

template<class Arc, bool left_pdt = true>
using fst::MPdtComposeFstOptions< Arc, left_pdt >::Label = typename Arc::Label

Definition at line 187 of file compose.h.

template<class Arc, bool left_pdt = true>
using fst::MPdtComposeFstOptions< Arc, left_pdt >::MPdtFilter = MPdtParenFilter<AltSequenceComposeFilter<MPdtMatcher>>

Definition at line 189 of file compose.h.

template<class Arc, bool left_pdt = true>
using fst::MPdtComposeFstOptions< Arc, left_pdt >::MPdtMatcher = ParenMatcher<Fst<Arc>>

Definition at line 188 of file compose.h.

Constructor & Destructor Documentation

template<class Arc, bool left_pdt = true>
fst::MPdtComposeFstOptions< Arc, left_pdt >::MPdtComposeFstOptions ( const Fst< Arc > &  ifst1,
const std::vector< std::pair< Label, Label >> &  parens,
const std::vector< typename Arc::Label > &  assignments,
const Fst< Arc > &  ifst2,
bool  expand = false,
bool  keep_parens = true 
)
inline

Definition at line 195 of file compose.h.


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