FST
openfst-1.8.4
OpenFst Library
|
#include <symbol-table.h>
Public Member Functions | |
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 std::unique_ptr< SymbolTableImplBase > | Copy () const =0 |
virtual bool | Write (std::ostream &strm) const =0 |
virtual int64_t | AddSymbol (std::string_view symbol, int64_t key)=0 |
virtual int64_t | AddSymbol (std::string_view symbol)=0 |
virtual void | RemoveSymbol (int64_t key)=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 void | SetName (std::string_view new_name)=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 151 of file symbol-table.h.
|
overridevirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 111 of file symbol-table.cc.
|
inlinefinalvirtual |
Implements fst::internal::SymbolTableImplBase.
Definition at line 154 of file symbol-table.h.