grammar-fst.cc File Reference
Include dependency graph for grammar-fst.cc:

Go to the source code of this file.

Classes

class  GrammarFstPreparer
 
struct  GrammarFstPreparer::ArcCategory
 

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

static ConstFst< StdArc > * ReadConstFstFromStream (std::istream &is)
 
static void InputDeterminizeSingleState (StdArc::StateId s, VectorFst< StdArc > *fst)
 This utility function input-determinizes a specified state s of the FST 'fst'. More...
 
void PrepareForGrammarFst (int32 nonterm_phones_offset, VectorFst< StdArc > *fst)
 This function prepares 'ifst' for use in GrammarFst: it ensures that it has the expected properties, changing it slightly as needed. More...
 
void CopyToVectorFst (GrammarFst *grammar_fst, VectorFst< StdArc > *vector_fst)
 This function copies a GrammarFst to a VectorFst (intended mostly for testing and comparison purposes). More...