FST  openfst-1.7.1
OpenFst Library
Namespaces | Functions
symbol-table-ops.h File Reference
#include <string>
#include <unordered_set>
#include <vector>
#include <fst/fst.h>
#include <fst/symbol-table.h>
Include dependency graph for symbol-table-ops.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




template<class Arc >
SymbolTable * fst::PruneSymbolTable (const Fst< Arc > &fst, const SymbolTable &syms, bool input)
SymbolTable * fst::CompactSymbolTable (const SymbolTable &syms)
SymbolTable * fst::MergeSymbolTable (const SymbolTable &left, const SymbolTable &right, bool *right_relabel_output=nullptr)
SymbolTable * fst::FstReadSymbols (const string &filename, bool input)
bool fst::AddAuxiliarySymbols (const string &prefix, int64 start_label, int64 nlabels, SymbolTable *syms)