FST
openfst-1.8.4
OpenFst Library
|
#include <compact-fst.h>
Public Types | |
using | Arc = A |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
using | Element = std::pair< Label, Weight > |
Public Member Functions | |
Element | Compact (StateId s, const Arc &arc) const |
Arc | Expand (StateId s, const Element &p, uint8_t flags=kArcValueFlags) const |
constexpr ssize_t | Size () const |
constexpr uint64_t | Properties () const |
bool | Compatible (const Fst< Arc > &fst) const |
bool | Write (std::ostream &strm) const |
Static Public Member Functions | |
static const std::string & | Type () |
static WeightedStringCompactor * | Read (std::istream &strm) |
Definition at line 1431 of file compact-fst.h.
using fst::WeightedStringCompactor< A >::Arc = A |
Definition at line 1433 of file compact-fst.h.
using fst::WeightedStringCompactor< A >::Element = std::pair<Label, Weight> |
Definition at line 1438 of file compact-fst.h.
using fst::WeightedStringCompactor< A >::Label = typename Arc::Label |
Definition at line 1434 of file compact-fst.h.
using fst::WeightedStringCompactor< A >::StateId = typename Arc::StateId |
Definition at line 1435 of file compact-fst.h.
using fst::WeightedStringCompactor< A >::Weight = typename Arc::Weight |
Definition at line 1436 of file compact-fst.h.
|
inline |
Definition at line 1440 of file compact-fst.h.
|
inline |
Definition at line 1454 of file compact-fst.h.
|
inline |
Definition at line 1444 of file compact-fst.h.
|
inline |
Definition at line 1452 of file compact-fst.h.
|
inlinestatic |
Definition at line 1466 of file compact-fst.h.
|
inline |
Definition at line 1450 of file compact-fst.h.
|
inlinestatic |
Definition at line 1459 of file compact-fst.h.
|
inline |
Definition at line 1464 of file compact-fst.h.