prune-special-inl.h File Reference
Include dependency graph for prune-special-inl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PruneSpecialClass< Arc >
 This class is used to implement the function PruneSpecial. More...
 
struct  PruneSpecialClass< Arc >::Task
 

Namespaces

 fst
 For an extended explanation of the framework of which grammar-fsts are a part, please see Support for grammars and graphs with on-the-fly parts. (i.e.
 

Functions

template<class Arc >
void PruneSpecial (const Fst< Arc > &ifst, VectorFst< Arc > *ofst, typename Arc::Weight beam, size_t max_states=0)
 The function PruneSpecial is like the standard OpenFst function "prune", except it does not expand the entire "ifst"- this is useful for cases where ifst is an on-demand FST such as a ComposeFst and we don't want to visit it all. More...