FST  openfst-1.7.1
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | List of all members
fst::LabelLookAheadRelabeler< Arc, Data > Class Template Reference

#include <lookahead-matcher.h>

Public Types

using Label = typename Arc::Label
 
using Reachable = LabelReachable< Arc, DefaultAccumulator< Arc >, Data >
 

Public Member Functions

template<typename Impl >
 LabelLookAheadRelabeler (std::shared_ptr< Impl > *impl)
 

Static Public Member Functions

template<class LFST >
static void Relabel (MutableFst< Arc > *fst, const LFST &mfst, bool relabel_input)
 
template<class LFST >
static void RelabelPairs (const LFST &mfst, std::vector< std::pair< Label, Label >> *pairs, bool avoid_collisions=false)
 

Detailed Description

template<class Arc, class Data = LabelReachableData<typename Arc::Label>>
class fst::LabelLookAheadRelabeler< Arc, Data >

Definition at line 647 of file lookahead-matcher.h.

Member Typedef Documentation

template<class Arc , class Data = LabelReachableData<typename Arc::Label>>
using fst::LabelLookAheadRelabeler< Arc, Data >::Label = typename Arc::Label

Definition at line 649 of file lookahead-matcher.h.

template<class Arc , class Data = LabelReachableData<typename Arc::Label>>
using fst::LabelLookAheadRelabeler< Arc, Data >::Reachable = LabelReachable<Arc, DefaultAccumulator<Arc>, Data>

Definition at line 650 of file lookahead-matcher.h.

Constructor & Destructor Documentation

template<class Arc , class Data >
template<typename Impl >
fst::LabelLookAheadRelabeler< Arc, Data >::LabelLookAheadRelabeler ( std::shared_ptr< Impl > *  impl)
inlineexplicit

Definition at line 682 of file lookahead-matcher.h.

Member Function Documentation

template<class Arc , class Data = LabelReachableData<typename Arc::Label>>
template<class LFST >
static void fst::LabelLookAheadRelabeler< Arc, Data >::Relabel ( MutableFst< Arc > *  fst,
const LFST &  mfst,
bool  relabel_input 
)
inlinestatic

Definition at line 658 of file lookahead-matcher.h.

template<class Arc , class Data = LabelReachableData<typename Arc::Label>>
template<class LFST >
static void fst::LabelLookAheadRelabeler< Arc, Data >::RelabelPairs ( const LFST &  mfst,
std::vector< std::pair< Label, Label >> *  pairs,
bool  avoid_collisions = false 
)
inlinestatic

Definition at line 670 of file lookahead-matcher.h.


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