/external/openfst/src/extensions/pdt/ |
H A D | pdtexpand.cc | 60 s::WeightClass weight_threshold = FLAGS_weight.empty() ? local 66 FLAGS_connect, FLAGS_keep_parentheses, weight_threshold));
|
/external/openfst/src/script/ |
H A D | prune.cc | 43 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 D | rmepsilon.cc | 34 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 D | shortest-path.cc | 35 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 D | determinize.h | 30 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 D | prune.h | 33 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 D | shortest-path.h | 38 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 D | rmepsilon.h | 46 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 D | pdtscript.h | 87 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 D | expand.h | 918 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 D | prune.h | 41 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 D | shortest-path.h | 53 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 D | rmepsilon.h | 56 Weight weight_threshold; // Pruning weight threshold. member in class:fst::RmEpsilonOptions 64 connect(c), weight_threshold(w), state_threshold(n) {} 322 if (opts.weight_threshold != Weight::Zero() || 324 Prune(fst, opts.weight_threshold, opts.state_threshold); 325 if (opts.connect && (opts.weight_threshold == Weight::Zero() || 352 typename Arc::Weight weight_threshold = Arc::Weight::Zero(), 362 opts(&state_queue, delta, connect, weight_threshold, state_threshold);
|
H A D | determinize.h | 821 Weight weight_threshold; // Pruning weight threshold. member in struct:fst::DeterminizeOptions 828 : delta(d), weight_threshold(w), state_threshold(n), 864 if (opts.weight_threshold != Weight::Zero() || 870 PruneOptions< Arc, AnyArcFilter<Arc> > popts(opts.weight_threshold, 877 Prune(ofst, opts.weight_threshold, opts.state_threshold);
|