Searched defs:weight_threshold (Results 1 - 15 of 15) sorted by relevance

/external/openfst/src/extensions/pdt/
H A Dpdtexpand.cc60 s::WeightClass weight_threshold = FLAGS_weight.empty() ? local
66 FLAGS_connect, FLAGS_keep_parentheses, weight_threshold));
/external/openfst/src/script/
H A Dprune.cc43 const WeightClass& weight_threshold,
45 PruneArgs3 args(ifst, ofst, weight_threshold, state_threshold, delta);
51 void Prune(MutableFstClass *fst, const WeightClass& weight_threshold, argument
53 PruneArgs4 args(fst, weight_threshold, state_threshold, delta);
41 Prune(const FstClass &ifst, MutableFstClass *ofst, const WeightClass& weight_threshold, int64 state_threshold, float delta) argument
H A Drmepsilon.cc34 const WeightClass &weight_threshold,
36 RmEpsilonArgs2 args(fst, connect, weight_threshold, state_threshold, delta);
33 RmEpsilon(MutableFstClass *fst, bool connect, const WeightClass &weight_threshold, int64 state_threshold, float delta) argument
H A Dshortest-path.cc35 WeightClass weight_threshold, int64 state_threshold) {
38 ShortestPathArgs2 args(ifst, ofst, n, unique, first_path, weight_threshold,
33 ShortestPath(const FstClass &ifst, MutableFstClass *ofst, size_t n, bool unique, bool first_path, WeightClass weight_threshold, int64 state_threshold) argument
/external/openfst/src/include/fst/script/
H A Ddeterminize.h30 WeightClass weight_threshold; member in struct:fst::script::DeterminizeOptions
38 : delta(d), weight_threshold(w), state_threshold(n),
53 detargs.weight_threshold =
54 *(opts.weight_threshold.GetWeight<typename Arc::Weight>());
H A Ddisambiguate.h30 WeightClass weight_threshold; member in struct:fst::script::DisambiguateOptions
38 : delta(d), weight_threshold(w), state_threshold(n),
53 detargs.weight_threshold =
54 *(opts.weight_threshold.GetWeight<typename Arc::Weight>());
H A Dprune.h33 WeightClass weight_threshold; member in struct:fst::script::PruneOptions
40 : weight_threshold(w),
59 Weight weight_threshold = *(opts.weight_threshold.GetWeight<Weight>()); local
71 weight_threshold, state_threshold, AnyArcFilter<A>(), distance,
140 const WeightClass &weight_threshold,
145 void Prune(MutableFstClass *fst, const WeightClass& weight_threshold,
H A Dshortest-path.h38 const WeightClass weight_threshold; member in struct:fst::script::ShortestPathOptions
48 weight_threshold(w), state_threshold(s) { }
66 typename Arc::Weight weight_threshold = local
67 *(opts.weight_threshold.GetWeight<Weight>());
77 weight_threshold, opts.state_threshold);
89 weight_threshold, opts.state_threshold);
101 weight_threshold, opts.state_threshold);
113 weight_threshold, opts.state_threshold);
125 weight_threshold, opts.state_threshold);
137 weight_threshold, opt
163 typename Arc::Weight weight_threshold = local
[all...]
H A Drmepsilon.h46 WeightClass weight_threshold; member in struct:fst::script::RmEpsilonOptions
54 connect(c), weight_threshold(w), state_threshold(n) { }
72 *(opts.weight_threshold.GetWeight<Weight>());
197 const WeightClass &weight_threshold =
/external/openfst/src/include/fst/extensions/pdt/
H A Dpdtscript.h87 WeightClass weight_threshold; member in struct:fst::script::PdtExpandOptions
91 : connect(c), keep_parentheses(k), weight_threshold(w) {}
112 *(args->arg4.weight_threshold.GetWeight<typename Arc::Weight>())));
H A Dexpand.h918 typename Arc::Weight weight_threshold; member in struct:fst::ExpandOptions
922 : connect(c), keep_parentheses(k), weight_threshold(w) {}
945 if (opts.weight_threshold == Weight::Zero()) {
950 pruned_expand.Expand(ofst, opts.weight_threshold);
/external/openfst/src/include/fst/
H A Dprune.h41 Weight weight_threshold; member in class:fst::PruneOptions
54 : weight_threshold(w),
93 // the weight of the shortest path Times() 'opts.weight_threshold'.
136 Weight limit = Times((*fdistance)[fst->Start()], opts.weight_threshold);
191 // 'weight_threshold'. When 'state_threshold != kNoStateId', the
198 typename Arc::Weight weight_threshold,
201 PruneOptions<Arc, AnyArcFilter<Arc> > opts(weight_threshold, state_threshold,
211 // Times() 'opts.weight_threshold'. When 'opts.state_threshold !=
237 if (less(opts.weight_threshold, Weight::One()) ||
258 opts.weight_threshold);
197 Prune(MutableFst<Arc> *fst, typename Arc::Weight weight_threshold, typename Arc::StateId state_threshold = kNoStateId, double delta = kDelta) argument
327 Prune(const Fst<Arc> &ifst, MutableFst<Arc> *ofst, typename Arc::Weight weight_threshold, typename Arc::StateId state_threshold = kNoStateId, float delta = kDelta) argument
[all...]
H A Dshortest-path.h53 Weight weight_threshold; // pruning weight threshold. member in struct:fst::ShortestPathOptions
62 weight_threshold(w), state_threshold(s) {}
111 if (opts.weight_threshold != Weight::Zero() ||
281 typename Arc::Weight weight_threshold = Arc::Weight::Zero(),
320 less(weight_threshold, Weight::One()) ||
332 Weight limit = Times(distance[ifst.Start()], weight_threshold);
457 opts.weight_threshold, opts.state_threshold);
463 opts.weight_threshold, opts.state_threshold);
487 typename Arc::Weight weight_threshold = Arc::Weight::Zero(),
494 kDelta, first_path, weight_threshold,
[all...]
H A Drmepsilon.h56 Weight weight_threshold; // Pruning weight threshold. member in class:fst::RmEpsilonOptions
64 connect(c), weight_threshold(w), state_threshold(n) {}
321 if (opts.weight_threshold != Weight::Zero() ||
323 Prune(fst, opts.weight_threshold, opts.state_threshold);
324 if (opts.connect && (opts.weight_threshold == Weight::Zero() ||
351 typename Arc::Weight weight_threshold = Arc::Weight::Zero(),
361 opts(&state_queue, delta, connect, weight_threshold, state_threshold);
H A Ddeterminize.h949 Weight weight_threshold; // Pruning weight threshold. member in struct:fst::DeterminizeOptions
956 : delta(d), weight_threshold(w), state_threshold(n),
992 if (opts.weight_threshold != Weight::Zero() ||
998 PruneOptions< Arc, AnyArcFilter<Arc> > popts(opts.weight_threshold,
1005 Prune(ofst, opts.weight_threshold, opts.state_threshold);

Completed in 3368 milliseconds