Public Types | Public Member Functions | Static Public Member Functions

fst::LabelLookAheadRelabeler< A > Class Template Reference

Label-lookahead relabeling class. More...

#include <fst/lookahead-matcher.h>

List of all members.

Public Types

typedef A::Label Label
typedef LabelReachableData< LabelMatcherData
typedef AddOnPair< MatcherData,
MatcherData
D

Public Member Functions

template<typename I >
 LabelLookAheadRelabeler (I **impl)
 Relabels matcher Fst - initialization function object.

Static Public Member Functions

template<class L >
static void Relabel (MutableFst< A > *fst, const L &mfst, bool relabel_input)
 Relabels arbitrary Fst. Class L should be a label-lookahead Fst.
template<class L >
static void RelabelPairs (const L &mfst, vector< pair< Label, Label > > *pairs)

Detailed Description

template<class A>
class fst::LabelLookAheadRelabeler< A >

Label-lookahead relabeling class.

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


Member Typedef Documentation

template<class A >
typedef AddOnPair<MatcherData, MatcherData> fst::LabelLookAheadRelabeler< A >::D

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

template<class A >
typedef A::Label fst::LabelLookAheadRelabeler< A >::Label

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

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


Constructor & Destructor Documentation

template<class A >
template<typename I >
fst::LabelLookAheadRelabeler< A >::LabelLookAheadRelabeler ( I **  impl  )  [inline]

Relabels matcher Fst - initialization function object.

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


Member Function Documentation

template<class A >
template<class L >
static void fst::LabelLookAheadRelabeler< A >::Relabel ( MutableFst< A > *  fst,
const L &  mfst,
bool  relabel_input 
) [inline, static]

Relabels arbitrary Fst. Class L should be a label-lookahead Fst.

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

template<class A >
template<class L >
static void fst::LabelLookAheadRelabeler< A >::RelabelPairs ( const L &  mfst,
vector< pair< Label, Label > > *  pairs 
) [inline, static]

Returns relabeling pairs (cf. relabel.h::Relabel()). Class L should be a label-lookahead Fst.

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines