#include <algorithm>
#include <map>
#include <set>
#include <vector>
#include <fst/fstlib.h>
#include <fst/fst-decl.h>
#include "base/kaldi-common.h"
#include "fstext/pre-determinize-inl.h"
Go to the source code of this file.
|
template<class Arc , class Int > |
void | PreDeterminize (MutableFst< Arc > *fst, typename Arc::Label first_new_sym, std::vector< Int > *symsOut) |
|
template<class Label > |
void | CreateNewSymbols (SymbolTable *input_sym_table, int nSym, std::string prefix, std::vector< Label > *symsOut) |
|
template<class Arc > |
void | AddSelfLoops (MutableFst< Arc > *fst, std::vector< typename Arc::Label > &isyms, std::vector< typename Arc::Label > &osyms) |
| AddSelfLoops is a function you will probably want to use alongside PreDeterminize, to add self-loops to any FSTs that you compose on the left hand side of the one modified by PreDeterminize. More...
|
|
template<class Arc > |
int64 | DeleteISymbols (MutableFst< Arc > *fst, std::vector< typename Arc::Label > isyms) |
|
template<class Arc > |
Arc::StateId | CreateSuperFinal (MutableFst< Arc > *fst) |
|