Home | History | Annotate | Download | only in script

Lines Matching refs:prune

19 #include <fst/script/prune.h>
26 void Prune(MutableFstClass *fst, const PruneOptions &opts) {
29 Apply<Operation<PruneArgs1> >("Prune", fst->ArcType(), &args);
33 void Prune(const FstClass &ifst, MutableFstClass *fst,
37 Apply<Operation<PruneArgs2> >("Prune", fst->ArcType(), &args);
41 void Prune(const FstClass &ifst,
47 Apply<Operation<PruneArgs3> >("Prune", ifst.ArcType(), &args);
51 void Prune(MutableFstClass *fst, const WeightClass& weight_threshold,
55 Apply<Operation<PruneArgs4> >("Prune", fst->ArcType(), &args);
59 REGISTER_FST_OPERATION(Prune, StdArc, PruneArgs1);
60 REGISTER_FST_OPERATION(Prune, LogArc, PruneArgs1);
61 REGISTER_FST_OPERATION(Prune, Log64Arc, PruneArgs1);
63 REGISTER_FST_OPERATION(Prune, StdArc, PruneArgs2);
64 REGISTER_FST_OPERATION(Prune, LogArc, PruneArgs2);
65 REGISTER_FST_OPERATION(Prune, Log64Arc, PruneArgs2);
67 REGISTER_FST_OPERATION(Prune, StdArc, PruneArgs3);
68 REGISTER_FST_OPERATION(Prune, LogArc, PruneArgs3);
69 REGISTER_FST_OPERATION(Prune, Log64Arc, PruneArgs3);
71 REGISTER_FST_OPERATION(Prune, StdArc, PruneArgs4);
72 REGISTER_FST_OPERATION(Prune, LogArc, PruneArgs4);
73 REGISTER_FST_OPERATION(Prune, Log64Arc, PruneArgs4);