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

#include <expand.h>

Public Types

using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using StackId = StateId
 
using Stack = PdtStack< StackId, Label >
 
using StateTable = PdtStateTable< StateId, StackId >
 
using SetIterator = typename internal::PdtBalanceData< Arc >::SetIterator
 

Public Member Functions

 PdtPrunedExpand (const Fst< Arc > &ifst, const std::vector< std::pair< Label, Label >> &parens, bool keep_parentheses=false, const CacheOptions &opts=CacheOptions())
 
bool Error () const
 
void Expand (MutableFst< Arc > *ofst, const Weight &threshold)
 

Detailed Description

template<class Arc>
class fst::PdtPrunedExpand< Arc >

Definition at line 331 of file expand.h.

Member Typedef Documentation

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

Definition at line 333 of file expand.h.

template<class Arc>
using fst::PdtPrunedExpand< Arc >::SetIterator = typename internal::PdtBalanceData<Arc>::SetIterator

Definition at line 341 of file expand.h.

template<class Arc>
using fst::PdtPrunedExpand< Arc >::Stack = PdtStack<StackId, Label>

Definition at line 339 of file expand.h.

template<class Arc>
using fst::PdtPrunedExpand< Arc >::StackId = StateId

Definition at line 338 of file expand.h.

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

Definition at line 334 of file expand.h.

template<class Arc>
using fst::PdtPrunedExpand< Arc >::StateTable = PdtStateTable<StateId, StackId>

Definition at line 340 of file expand.h.

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

Definition at line 335 of file expand.h.

Constructor & Destructor Documentation

template<class Arc>
fst::PdtPrunedExpand< Arc >::PdtPrunedExpand ( const Fst< Arc > &  ifst,
const std::vector< std::pair< Label, Label >> &  parens,
bool  keep_parentheses = false,
const CacheOptions opts = CacheOptions() 
)
inline

Definition at line 347 of file expand.h.

Member Function Documentation

template<class Arc>
bool fst::PdtPrunedExpand< Arc >::Error ( ) const
inline

Definition at line 370 of file expand.h.

template<class Arc >
void fst::PdtPrunedExpand< Arc >::Expand ( MutableFst< Arc > *  ofst,
const Weight threshold 
)

Definition at line 868 of file expand.h.


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