|
| NGramFstImpl () |
|
| NGramFstImpl (const Fst< A > &fst, std::vector< StateId > *order_out) |
|
| NGramFstImpl (const Fst< A > &fst) |
|
| NGramFstImpl (const NGramFstImpl &other) |
|
bool | Write (std::ostream &strm, const FstWriteOptions &opts) const |
|
StateId | Start () const |
|
Weight | Final (StateId state) const |
|
size_t | NumArcs (StateId state, NGramFstInst< A > *inst=nullptr) const |
|
size_t | NumInputEpsilons (StateId state) const |
|
size_t | NumOutputEpsilons (StateId state) const |
|
StateId | NumStates () const |
|
void | InitStateIterator (StateIteratorData< A > *data) const |
|
void | SetInstFuture (StateId state, NGramFstInst< A > *inst) const |
|
void | SetInstNode (NGramFstInst< A > *inst) const |
|
void | SetInstContext (NGramFstInst< A > *inst) const |
|
const char * | GetData (size_t *data_size) const |
|
void | Init (const char *data, std::unique_ptr< MappedFile > data_region) |
|
const std::vector< Label > & | GetContext (StateId s, NGramFstInst< A > *inst) const |
|
size_t | StorageSize () const |
|
void | GetStates (const std::vector< Label > &context, std::vector< StateId > *states) const |
|
| FstImpl ()=default |
|
| FstImpl (const FstImpl< A > &impl) |
|
| FstImpl (FstImpl< A > &&impl) noexcept |
|
virtual | ~FstImpl ()=default |
|
FstImpl & | operator= (const FstImpl &impl) |
|
FstImpl & | operator= (FstImpl &&impl) noexcept |
|
const std::string & | Type () const |
|
void | SetType (std::string_view type) |
|
virtual uint64_t | Properties () const |
|
virtual uint64_t | Properties (uint64_t mask) const |
|
void | SetProperties (uint64_t props) |
|
void | SetProperties (uint64_t props, uint64_t mask) |
|
void | SetProperties (uint64_t props, uint64_t mask) const |
|
void | UpdateProperties (uint64_t props, uint64_t mask) |
|
const SymbolTable * | InputSymbols () const |
|
SymbolTable * | InputSymbols () |
|
const SymbolTable * | OutputSymbols () const |
|
SymbolTable * | OutputSymbols () |
|
void | SetInputSymbols (const SymbolTable *isyms) |
|
void | SetOutputSymbols (const SymbolTable *osyms) |
|
bool | ReadHeader (std::istream &strm, const FstReadOptions &opts, int min_version, FstHeader *hdr) |
|
void | WriteHeader (std::ostream &strm, const FstWriteOptions &opts, int version, FstHeader *hdr) const |
|
|
static NGramFstImpl< A > * | Read (std::istream &strm, const FstReadOptions &opts) |
|
static size_t | Storage (uint64_t num_states, uint64_t num_futures, uint64_t num_final) |
|
static void | WriteFstHeader (const Fst< A > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, std::string_view type, uint64_t properties, FstHeader *hdr) |
|
static bool | UpdateFstHeader (const Fst< A > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, std::string_view type, uint64_t properties, FstHeader *hdr, size_t header_offset) |
|
template<class A>
class fst::internal::NGramFstImpl< A >
Definition at line 85 of file ngram-fst.h.