FST
openfst-1.8.4
OpenFst Library
|
#include <symbol-table.h>
Public Member Functions | |
SymbolTableImpl (std::string_view name) | |
SymbolTableImpl (const SymbolTableImpl &impl) | |
std::unique_ptr< SymbolTableImplBase > | Copy () const override |
int64_t | AddSymbol (std::string_view symbol, int64_t key) override |
int64_t | AddSymbol (std::string_view symbol) override |
void | RemoveSymbol (int64_t key) override |
bool | Write (std::ostream &strm) const override |
std::string | Find (int64_t key) const override |
int64_t | Find (std::string_view symbol) const override |
int64_t | GetNthKey (ssize_t pos) const override |
const std::string & | Name () const override |
void | SetName (std::string_view new_name) override |
const std::string & | CheckSum () const override |
const std::string & | LabeledCheckSum () const override |
int64_t | AvailableKey () const override |
size_t | NumSymbols () const override |
void | ShrinkToFit () |
![]() | |
void | AddTable (const SymbolTable &table) override |
bool | IsMutable () const final |
![]() | |
SymbolTableImplBase ()=default | |
virtual | ~SymbolTableImplBase ()=default |
SymbolTableImplBase (const SymbolTableImplBase &)=delete | |
SymbolTableImplBase & | operator= (const SymbolTableImplBase &)=delete |
virtual bool | Member (int64_t key) const |
virtual bool | Member (std::string_view symbol) const |
Static Public Member Functions | |
static SymbolTableImpl * | ReadText (std::istream &strm, std::string_view name, std::string_view sep=FST_FLAGS_fst_field_separator) |
static SymbolTableImpl * | Read (std::istream &strm, std::string_view source) |
Definition at line 176 of file symbol-table.h.
|
inlineexplicit |
Definition at line 178 of file symbol-table.h.
|
inline |
Definition at line 184 of file symbol-table.h.
|
overridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 223 of file symbol-table.cc.
|
inlineoverridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 199 of file symbol-table.h.
|
inlineoverridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 259 of file symbol-table.h.
|
inlineoverridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 249 of file symbol-table.h.
|
inlineoverridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 193 of file symbol-table.h.
|
overridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 212 of file symbol-table.cc.
|
inlineoverridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 228 of file symbol-table.h.
|
inlineoverridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 234 of file symbol-table.h.
|
inlineoverridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 254 of file symbol-table.h.
|
inlineoverridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 243 of file symbol-table.h.
|
inlineoverridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 261 of file symbol-table.h.
|
static |
Definition at line 288 of file symbol-table.cc.
|
static |
Definition at line 144 of file symbol-table.cc.
|
overridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 248 of file symbol-table.cc.
|
inlineoverridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 245 of file symbol-table.h.
void fst::internal::SymbolTableImpl::ShrinkToFit | ( | ) |
Definition at line 344 of file symbol-table.cc.
|
overridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 322 of file symbol-table.cc.