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 = Label |
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 StringCompactor * | Read (std::istream &strm) |
Definition at line 1392 of file compact-fst.h.
using fst::StringCompactor< A >::Arc = A |
Definition at line 1394 of file compact-fst.h.
using fst::StringCompactor< A >::Element = Label |
Definition at line 1399 of file compact-fst.h.
using fst::StringCompactor< A >::Label = typename Arc::Label |
Definition at line 1395 of file compact-fst.h.
using fst::StringCompactor< A >::StateId = typename Arc::StateId |
Definition at line 1396 of file compact-fst.h.
using fst::StringCompactor< A >::Weight = typename Arc::Weight |
Definition at line 1397 of file compact-fst.h.
|
inline |
Definition at line 1401 of file compact-fst.h.
|
inline |
Definition at line 1412 of file compact-fst.h.
|
inline |
Definition at line 1403 of file compact-fst.h.
|
inline |
Definition at line 1410 of file compact-fst.h.
|
inlinestatic |
Definition at line 1424 of file compact-fst.h.
|
inline |
Definition at line 1408 of file compact-fst.h.
|
inlinestatic |
Definition at line 1417 of file compact-fst.h.
|
inline |
Definition at line 1422 of file compact-fst.h.