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

#include <compose.h>

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

Public Types

using Label = typename Arc::Label
 
using PdtMatcher = ParenMatcher< Fst< Arc >>
 
using PdtFilter = ParenFilter< AltSequenceComposeFilter< PdtMatcher >>
 

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from fst::ComposeFstOptions< Arc, ParenMatcher< Fst< Arc > >, ParenFilter< AltSequenceComposeFilter< ParenMatcher< Fst< Arc > > > > >
ParenMatcher< Fst< Arc > > * matcher1
 
ParenMatcher< Fst< Arc > > * matcher2
 
ParenFilter< AltSequenceComposeFilter< ParenMatcher< Fst< Arc > > > > * filter
 
GenericComposeStateTable< Arc, typename ParenFilter< 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::PdtComposeFstOptions< Arc, left_pdt >

Definition at line 386 of file compose.h.

Member Typedef Documentation

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

Definition at line 391 of file compose.h.

template<class Arc, bool left_pdt = true>
using fst::PdtComposeFstOptions< Arc, left_pdt >::PdtFilter = ParenFilter<AltSequenceComposeFilter<PdtMatcher>>

Definition at line 393 of file compose.h.

template<class Arc, bool left_pdt = true>
using fst::PdtComposeFstOptions< Arc, left_pdt >::PdtMatcher = ParenMatcher<Fst<Arc>>

Definition at line 392 of file compose.h.

Constructor & Destructor Documentation

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

Definition at line 399 of file compose.h.


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