FST  openfst-1.7.3
OpenFst Library
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
fst::DefaultDeterminizeFilter< Arc > Class Template Reference

#include <determinize.h>

Classes

struct  rebind
 

Public Types

using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using FilterState = CharFilterState
 
using Element = internal::DeterminizeElement< Arc >
 
using StateTuple = internal::DeterminizeStateTuple< Arc, FilterState >
 
using LabelMap = std::map< Label, internal::DeterminizeArc< StateTuple >>
 

Public Member Functions

 DefaultDeterminizeFilter (const Fst< Arc > &fst)
 
template<class Filter >
 DefaultDeterminizeFilter (const Fst< Arc > &fst, Filter *filter)
 
 DefaultDeterminizeFilter (const DefaultDeterminizeFilter< Arc > &filter, const Fst< Arc > *fst=nullptr)
 
FilterState Start () const
 
void SetState (StateId s, const StateTuple &tuple)
 
bool FilterArc (const Arc &arc, const Element &src_element, Element &&dest_element, LabelMap *label_map) const
 
Weight FilterFinal (Weight weight, const Element &element)
 

Static Public Member Functions

static uint64 Properties (uint64 props)
 

Detailed Description

template<class Arc>
class fst::DefaultDeterminizeFilter< Arc >

Definition at line 194 of file determinize.h.

Member Typedef Documentation

template<class Arc>
using fst::DefaultDeterminizeFilter< Arc >::Element = internal::DeterminizeElement<Arc>

Definition at line 201 of file determinize.h.

template<class Arc>
using fst::DefaultDeterminizeFilter< Arc >::FilterState = CharFilterState

Definition at line 200 of file determinize.h.

template<class Arc>
using fst::DefaultDeterminizeFilter< Arc >::Label = typename Arc::Label

Definition at line 196 of file determinize.h.

template<class Arc>
using fst::DefaultDeterminizeFilter< Arc >::LabelMap = std::map<Label, internal::DeterminizeArc<StateTuple>>

Definition at line 203 of file determinize.h.

template<class Arc>
using fst::DefaultDeterminizeFilter< Arc >::StateId = typename Arc::StateId

Definition at line 197 of file determinize.h.

Definition at line 202 of file determinize.h.

template<class Arc>
using fst::DefaultDeterminizeFilter< Arc >::Weight = typename Arc::Weight

Definition at line 198 of file determinize.h.

Constructor & Destructor Documentation

template<class Arc>
fst::DefaultDeterminizeFilter< Arc >::DefaultDeterminizeFilter ( const Fst< Arc > &  fst)
inlineexplicit

Definition at line 211 of file determinize.h.

template<class Arc>
template<class Filter >
fst::DefaultDeterminizeFilter< Arc >::DefaultDeterminizeFilter ( const Fst< Arc > &  fst,
Filter *  filter 
)
inline

Definition at line 216 of file determinize.h.

template<class Arc>
fst::DefaultDeterminizeFilter< Arc >::DefaultDeterminizeFilter ( const DefaultDeterminizeFilter< Arc > &  filter,
const Fst< Arc > *  fst = nullptr 
)
inline

Definition at line 222 of file determinize.h.

Member Function Documentation

template<class Arc>
bool fst::DefaultDeterminizeFilter< Arc >::FilterArc ( const Arc &  arc,
const Element src_element,
Element &&  dest_element,
LabelMap label_map 
) const
inline

Definition at line 233 of file determinize.h.

template<class Arc>
Weight fst::DefaultDeterminizeFilter< Arc >::FilterFinal ( Weight  weight,
const Element element 
)
inline

Definition at line 246 of file determinize.h.

template<class Arc>
static uint64 fst::DefaultDeterminizeFilter< Arc >::Properties ( uint64  props)
inlinestatic

Definition at line 248 of file determinize.h.

template<class Arc>
void fst::DefaultDeterminizeFilter< Arc >::SetState ( StateId  s,
const StateTuple tuple 
)
inline

Definition at line 229 of file determinize.h.

template<class Arc>
FilterState fst::DefaultDeterminizeFilter< Arc >::Start ( ) const
inline

Definition at line 226 of file determinize.h.


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