FST  openfst-1.7.1
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 303 of file expand.h.

Member Typedef Documentation

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

Definition at line 305 of file expand.h.

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

Definition at line 312 of file expand.h.

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

Definition at line 310 of file expand.h.

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

Definition at line 309 of file expand.h.

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

Definition at line 306 of file expand.h.

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

Definition at line 311 of file expand.h.

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

Definition at line 307 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 318 of file expand.h.

Member Function Documentation

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

Definition at line 341 of file expand.h.

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

Definition at line 837 of file expand.h.


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