grammar-context-fst.h File Reference
#include <algorithm>
#include <string>
#include <vector>
#include <fst/fstlib.h>
#include <fst/fst-decl.h>
#include "util/const-integer-set.h"
#include "fstext/deterministic-fst.h"
#include "fstext/context-fst.h"
Include dependency graph for grammar-context-fst.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  InverseLeftBiphoneContextFst
 

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.
 

Enumerations

enum  NonterminalValues {
  kNontermBos = 0, kNontermBegin = 1, kNontermEnd = 2, kNontermReenter = 3,
  kNontermUserDefined = 4, kNontermMediumNumber = 1000, kNontermBigNumber = 10000000
}
 An anonymous enum to define some values for symbols used in our grammar-fst framework. More...
 

Functions

int32 GetEncodingMultiple (int32 nonterm_phones_offset)
 
void ComposeContextLeftBiphone (int32 nonterm_phones_offset, const std::vector< int32 > &disambig_syms, const VectorFst< StdArc > &ifst, VectorFst< StdArc > *ofst, std::vector< std::vector< int32 > > *ilabels)
 This is a variant of the function ComposeContext() which is to be used with our "grammar FST" framework (see The ContextFst object, i.e. More...