FST
openfst-1.8.3
OpenFst Library
|
#include <symbol-table.h>
Public Member Functions | |
DenseSymbolMap () | |
std::pair< int64_t, bool > | InsertOrFind (std::string_view key) |
int64_t | Find (std::string_view key) const |
size_t | Size () const |
const std::string & | GetSymbol (size_t idx) const |
void | RemoveSymbol (size_t idx) |
void | ShrinkToFit () |
Definition at line 66 of file symbol-table.h.
fst::internal::DenseSymbolMap::DenseSymbolMap | ( | ) |
Definition at line 57 of file symbol-table.cc.
int64_t fst::internal::DenseSymbolMap::Find | ( | std::string_view | key | ) | const |
Definition at line 79 of file symbol-table.cc.
|
inline |
Definition at line 76 of file symbol-table.h.
std::pair< int64_t, bool > fst::internal::DenseSymbolMap::InsertOrFind | ( | std::string_view | key | ) |
Definition at line 62 of file symbol-table.cc.
void fst::internal::DenseSymbolMap::RemoveSymbol | ( | size_t | idx | ) |
Definition at line 102 of file symbol-table.cc.
void fst::internal::DenseSymbolMap::ShrinkToFit | ( | ) |
Definition at line 107 of file symbol-table.cc.
|
inline |
Definition at line 74 of file symbol-table.h.