FST
openfst-1.8.4
OpenFst Library
|
#include <symbol-table.h>
Public Member Functions | |
std::unique_ptr< SymbolTableImplBase > | Copy () const final |
int64_t | AddSymbol (std::string_view symbol, int64_t key) final |
int64_t | AddSymbol (std::string_view symbol) final |
void | RemoveSymbol (int64_t key) final |
void | SetName (std::string_view new_name) final |
void | AddTable (const SymbolTable &table) final |
bool | IsMutable () const final |
![]() | |
SymbolTableImplBase ()=default | |
virtual | ~SymbolTableImplBase ()=default |
SymbolTableImplBase (const SymbolTableImplBase &)=delete | |
SymbolTableImplBase & | operator= (const SymbolTableImplBase &)=delete |
virtual bool | Write (std::ostream &strm) const =0 |
virtual std::string | Find (int64_t key) const =0 |
virtual int64_t | Find (std::string_view symbol) const =0 |
virtual bool | Member (int64_t key) const |
virtual bool | Member (std::string_view symbol) const |
virtual int64_t | GetNthKey (ssize_t pos) const =0 |
virtual const std::string & | Name () const =0 |
virtual const std::string & | CheckSum () const =0 |
virtual const std::string & | LabeledCheckSum () const =0 |
virtual int64_t | AvailableKey () const =0 |
virtual size_t | NumSymbols () const =0 |
Definition at line 158 of file symbol-table.h.
|
finalvirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 123 of file symbol-table.cc.
|
finalvirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 128 of file symbol-table.cc.
|
finalvirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 140 of file symbol-table.cc.
|
finalvirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 118 of file symbol-table.cc.
|
inlinefinalvirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 171 of file symbol-table.h.
|
finalvirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 132 of file symbol-table.cc.
|
finalvirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 136 of file symbol-table.cc.