FST
openfst-1.8.4
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 62 of file symbol-table.h.
fst::internal::DenseSymbolMap::DenseSymbolMap | ( | ) |
Definition at line 59 of file symbol-table.cc.
int64_t fst::internal::DenseSymbolMap::Find | ( | std::string_view | key | ) | const |
Definition at line 81 of file symbol-table.cc.
|
inline |
Definition at line 72 of file symbol-table.h.
std::pair< int64_t, bool > fst::internal::DenseSymbolMap::InsertOrFind | ( | std::string_view | key | ) |
Definition at line 64 of file symbol-table.cc.
void fst::internal::DenseSymbolMap::RemoveSymbol | ( | size_t | idx | ) |
Definition at line 104 of file symbol-table.cc.
void fst::internal::DenseSymbolMap::ShrinkToFit | ( | ) |
Definition at line 109 of file symbol-table.cc.
|
inline |
Definition at line 70 of file symbol-table.h.