FST
openfst-1.8.2
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 () | |
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 72 of file edit-fst.h.
using fst::internal::EditFstData< Arc, WrappedFstT, MutableFstT >::StateId = typename Arc::StateId |
Definition at line 74 of file edit-fst.h.
using fst::internal::EditFstData< Arc, WrappedFstT, MutableFstT >::Weight = typename Arc::Weight |
Definition at line 75 of file edit-fst.h.
|
inline |
Definition at line 77 of file edit-fst.h.
|
inline |
Definition at line 79 of file edit-fst.h.
|
inline |
Definition at line 85 of file edit-fst.h.
|
inline |
Definition at line 177 of file edit-fst.h.
|
inline |
Definition at line 163 of file edit-fst.h.
|
inline |
Definition at line 170 of file edit-fst.h.
|
inline |
Definition at line 199 of file edit-fst.h.
|
inline |
Definition at line 204 of file edit-fst.h.
|
inline |
Definition at line 191 of file edit-fst.h.
|
inline |
Definition at line 107 of file edit-fst.h.
|
inline |
Definition at line 109 of file edit-fst.h.
|
inline |
Definition at line 211 of file edit-fst.h.
|
inline |
Definition at line 226 of file edit-fst.h.
|
inline |
Definition at line 120 of file edit-fst.h.
|
inline |
Definition at line 126 of file edit-fst.h.
|
inline |
Definition at line 104 of file edit-fst.h.
|
inline |
Definition at line 132 of file edit-fst.h.
|
inline |
Definition at line 234 of file edit-fst.h.
|
static |
Definition at line 314 of file edit-fst.h.
|
inline |
Definition at line 138 of file edit-fst.h.
|
inline |
Definition at line 148 of file edit-fst.h.
|
inline |
Definition at line 145 of file edit-fst.h.
|
inline |
Definition at line 89 of file edit-fst.h.