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, StateId > |
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 UnweightedAcceptorCompactor * | Read (std::istream &istrm) |
Definition at line 1473 of file compact-fst.h.
using fst::UnweightedAcceptorCompactor< A >::Arc = A |
Definition at line 1475 of file compact-fst.h.
using fst::UnweightedAcceptorCompactor< A >::Element = std::pair<Label, StateId> |
Definition at line 1480 of file compact-fst.h.
using fst::UnweightedAcceptorCompactor< A >::Label = typename Arc::Label |
Definition at line 1476 of file compact-fst.h.
using fst::UnweightedAcceptorCompactor< A >::StateId = typename Arc::StateId |
Definition at line 1477 of file compact-fst.h.
using fst::UnweightedAcceptorCompactor< A >::Weight = typename Arc::Weight |
Definition at line 1478 of file compact-fst.h.
|
inline |
Definition at line 1482 of file compact-fst.h.
|
inline |
Definition at line 1495 of file compact-fst.h.
|
inline |
Definition at line 1486 of file compact-fst.h.
|
inline |
Definition at line 1493 of file compact-fst.h.
|
inlinestatic |
Definition at line 1508 of file compact-fst.h.
|
inline |
Definition at line 1491 of file compact-fst.h.
|
inlinestatic |
Definition at line 1500 of file compact-fst.h.
|
inline |
Definition at line 1506 of file compact-fst.h.