Phonetisaurus
1.0
FST-based Grapheme-to-Phoneme conversion
|
#include <LatticePruner.h>
Public Member Functions | |
LatticePruner () | |
LatticePruner (LabelData _penalties, TropicalWeight _beam, int _nbest, bool _fb, bool _penalize) | |
LatticePruner (TropicalWeight _beam, int _nbest, bool _fb) | |
void | prune_fst (VectorFst< StdArc > *fst) |
Public Attributes | |
vector< LogWeight > | alpha |
vector< LogWeight > | beta |
LabelData | penalties |
bool | penalize |
int | nbest |
bool | fb |
TropicalWeight | beam |
Definition at line 38 of file LatticePruner.h.
LatticePruner::LatticePruner | ( | ) |
Definition at line 35 of file LatticePruner.cc.
LatticePruner::LatticePruner | ( | LabelData | _penalties, |
TropicalWeight | _beam, | ||
int | _nbest, | ||
bool | _fb, | ||
bool | _penalize | ||
) |
Definition at line 39 of file LatticePruner.cc.
LatticePruner::LatticePruner | ( | TropicalWeight | _beam, |
int | _nbest, | ||
bool | _fb | ||
) |
Definition at line 47 of file LatticePruner.cc.
void LatticePruner::prune_fst | ( | VectorFst< StdArc > * | fst | ) |
Definition at line 55 of file LatticePruner.cc.
vector<LogWeight> fst::LatticePruner::alpha |
Definition at line 50 of file LatticePruner.h.
TropicalWeight fst::LatticePruner::beam |
Definition at line 55 of file LatticePruner.h.
vector<LogWeight> fst::LatticePruner::beta |
Definition at line 50 of file LatticePruner.h.
bool fst::LatticePruner::fb |
Definition at line 54 of file LatticePruner.h.
int fst::LatticePruner::nbest |
Definition at line 53 of file LatticePruner.h.
bool fst::LatticePruner::penalize |
Definition at line 52 of file LatticePruner.h.
LabelData fst::LatticePruner::penalties |
Definition at line 51 of file LatticePruner.h.