Compactor for weighted string FSTs. More...
#include <fst/compact-fst.h>
Public Types | |
| typedef A | Arc |
| typedef A::Label | Label |
| typedef A::StateId | StateId |
| typedef A::Weight | Weight |
| typedef pair< Label, Weight > | Element |
Public Member Functions | |
| Element | Compact (StateId s, const A &arc) const |
| Arc | Expand (StateId s, const Element &p, uint32 f=kArcValueFlags) const |
| ssize_t | Size () const |
| uint64 | Properties () const |
| bool | Compatible (const Fst< A > &fst) const |
| bool | Write (ostream &strm) const |
Static Public Member Functions | |
| static const string & | Type () |
| static WeightedStringCompactor * | Read (istream &strm) |
Compactor for weighted string FSTs.
Definition at line 1040 of file compact-fst.h.
| typedef A fst::WeightedStringCompactor< A >::Arc |
Definition at line 1042 of file compact-fst.h.
| typedef pair<Label, Weight> fst::WeightedStringCompactor< A >::Element |
Definition at line 1046 of file compact-fst.h.
| typedef A::Label fst::WeightedStringCompactor< A >::Label |
Definition at line 1043 of file compact-fst.h.
| typedef A::StateId fst::WeightedStringCompactor< A >::StateId |
Definition at line 1044 of file compact-fst.h.
| typedef A::Weight fst::WeightedStringCompactor< A >::Weight |
Definition at line 1045 of file compact-fst.h.
| Element fst::WeightedStringCompactor< A >::Compact | ( | StateId | s, | |
| const A & | arc | |||
| ) | const [inline] |
Definition at line 1048 of file compact-fst.h.
| bool fst::WeightedStringCompactor< A >::Compatible | ( | const Fst< A > & | fst | ) | const [inline] |
Definition at line 1063 of file compact-fst.h.
| Arc fst::WeightedStringCompactor< A >::Expand | ( | StateId | s, | |
| const Element & | p, | |||
| uint32 | f = kArcValueFlags | |||
| ) | const [inline] |
Definition at line 1052 of file compact-fst.h.
| uint64 fst::WeightedStringCompactor< A >::Properties | ( | ) | const [inline] |
Definition at line 1059 of file compact-fst.h.
| static WeightedStringCompactor* fst::WeightedStringCompactor< A >::Read | ( | istream & | strm | ) | [inline, static] |
Definition at line 1075 of file compact-fst.h.
| ssize_t fst::WeightedStringCompactor< A >::Size | ( | ) | const [inline] |
Definition at line 1057 of file compact-fst.h.
| static const string& fst::WeightedStringCompactor< A >::Type | ( | void | ) | [inline, static] |
Definition at line 1068 of file compact-fst.h.
| bool fst::WeightedStringCompactor< A >::Write | ( | ostream & | strm | ) | const [inline] |
Definition at line 1073 of file compact-fst.h.
1.7.1