FST
openfst-1.8.2.post1
OpenFst Library
|
#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) |
using fst::PdtPrunedExpand< Arc >::Label = typename Arc::Label |
using fst::PdtPrunedExpand< Arc >::SetIterator = typename internal::PdtBalanceData<Arc>::SetIterator |
using fst::PdtPrunedExpand< Arc >::Stack = PdtStack<StackId, Label> |
using fst::PdtPrunedExpand< Arc >::StackId = StateId |
using fst::PdtPrunedExpand< Arc >::StateId = typename Arc::StateId |
using fst::PdtPrunedExpand< Arc >::StateTable = PdtStateTable<StateId, StackId> |
using fst::PdtPrunedExpand< Arc >::Weight = typename Arc::Weight |
|
inline |
|
inline |
void fst::PdtPrunedExpand< Arc >::Expand | ( | MutableFst< Arc > * | ofst, |
const Weight & | threshold | ||
) |