FST
openfst-1.8.3
OpenFst Library
|
#include <edit-fst.h>
Public Types | |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
EditFstData () | |
EditFstData (const EditFstData &other) | |
~EditFstData ()=default | |
bool | Write (std::ostream &strm, const FstWriteOptions &opts) const |
StateId | NumNewStates () const |
StateId | EditedStart () const |
Weight | Final (StateId s, const WrappedFstT *wrapped) const |
size_t | NumArcs (StateId s, const WrappedFstT *wrapped) const |
size_t | NumInputEpsilons (StateId s, const WrappedFstT *wrapped) const |
size_t | NumOutputEpsilons (StateId s, const WrappedFstT *wrapped) const |
void | SetEditedProperties (uint64_t props, uint64_t mask) |
void | SetStart (StateId s) |
Weight | SetFinal (StateId s, Weight weight, const WrappedFstT *wrapped) |
StateId | AddState (StateId curr_num_states) |
void | AddStates (StateId curr_num_states, size_t n) |
const Arc * | AddArc (StateId s, const Arc &arc, const WrappedFstT *wrapped) |
void | DeleteStates () |
void | DeleteArcs (StateId s, size_t n, const WrappedFstT *wrapped) |
void | DeleteArcs (StateId s, const WrappedFstT *wrapped) |
void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data, const WrappedFstT *wrapped) const |
void | InitMutableArcIterator (StateId s, MutableArcIteratorData< Arc > *data, const WrappedFstT *wrapped) |
void | PrintMap () |
Static Public Member Functions | |
static EditFstData * | Read (std::istream &strm, const FstReadOptions &opts) |
Definition at line 82 of file edit-fst.h.
using fst::internal::EditFstData< Arc, WrappedFstT, MutableFstT >::StateId = typename Arc::StateId |
Definition at line 84 of file edit-fst.h.
using fst::internal::EditFstData< Arc, WrappedFstT, MutableFstT >::Weight = typename Arc::Weight |
Definition at line 85 of file edit-fst.h.
|
inline |
Definition at line 87 of file edit-fst.h.
|
inline |
Definition at line 89 of file edit-fst.h.
|
default |
|
inline |
Definition at line 187 of file edit-fst.h.
|
inline |
Definition at line 173 of file edit-fst.h.
|
inline |
Definition at line 180 of file edit-fst.h.
|
inline |
Definition at line 209 of file edit-fst.h.
|
inline |
Definition at line 214 of file edit-fst.h.
|
inline |
Definition at line 201 of file edit-fst.h.
|
inline |
Definition at line 117 of file edit-fst.h.
|
inline |
Definition at line 119 of file edit-fst.h.
|
inline |
Definition at line 221 of file edit-fst.h.
|
inline |
Definition at line 236 of file edit-fst.h.
|
inline |
Definition at line 130 of file edit-fst.h.
|
inline |
Definition at line 136 of file edit-fst.h.
|
inline |
Definition at line 114 of file edit-fst.h.
|
inline |
Definition at line 142 of file edit-fst.h.
|
inline |
Definition at line 244 of file edit-fst.h.
|
static |
Definition at line 324 of file edit-fst.h.
|
inline |
Definition at line 148 of file edit-fst.h.
|
inline |
Definition at line 158 of file edit-fst.h.
|
inline |
Definition at line 155 of file edit-fst.h.
|
inline |
Definition at line 99 of file edit-fst.h.