/external/openfst/src/include/fst/script/ |
D | weight-class.h | 77 class WeightClass { 79 WeightClass() : element_type_(ZERO), impl_(0) { } in WeightClass() function 82 explicit WeightClass(const W& weight) in WeightClass() function 85 WeightClass(const string &weight_type, const string &weight_str); 87 WeightClass(const WeightClass &other) : in WeightClass() function 91 WeightClass &operator = (const WeightClass &other) { 113 bool operator == (const WeightClass &other) const { 119 static const WeightClass &Zero() { in Zero() 120 static WeightClass w(ZERO); in Zero() 125 static const WeightClass &One() { in One() [all …]
|
D | prune.h | 33 WeightClass weight_threshold; 35 const vector<WeightClass> *distance; 38 explicit PruneOptions(const WeightClass& w, int64 s, 39 vector<WeightClass> *d = 0, float e = kDelta) 109 const WeightClass &, int64, float> PruneArgs3; 121 typedef args::Package<MutableFstClass *, const WeightClass&, 140 const WeightClass &weight_threshold, 145 void Prune(MutableFstClass *fst, const WeightClass& weight_threshold,
|
D | rmepsilon.h | 46 WeightClass weight_threshold; 50 WeightClass w = fst::script::WeightClass::Zero(), 154 const WeightClass, int64, 166 typedef args::Package<MutableFstClass *, vector<WeightClass> *, 181 (*args->arg2)[i] = WeightClass(weights[i]); in RmEpsilon() 197 const WeightClass &weight_threshold = 198 fst::script::WeightClass::Zero(), 203 void RmEpsilon(MutableFstClass *fst, vector<WeightClass> *distance,
|
D | shortest-distance.h | 54 typedef args::Package<const FstClass &, vector<WeightClass> *, 158 (*args->arg2)[i] = WeightClass(weights[i]); 201 typedef args::Package<const FstClass&, vector<WeightClass>*, 212 vector<WeightClass> *retval = args->arg2; 216 (*retval)[i] = WeightClass(distance[i]); 221 typedef args::WithReturnValue<WeightClass, 228 args->retval = WeightClass(ShortestDistance(fst)); 233 void ShortestDistance(const FstClass &fst, vector<WeightClass> *distance, 237 void ShortestDistance(const FstClass &ifst, vector<WeightClass> *distance, 242 WeightClass ShortestDistance(const FstClass &ifst);
|
D | shortest-path.h | 38 const WeightClass weight_threshold; 44 WeightClass w = fst::script::WeightClass::Zero(), 52 vector<WeightClass> *, const ShortestPathOptions &> 150 (*args->arg3)[i] = WeightClass(weights[i]); in ShortestPath() 156 size_t, bool, bool, WeightClass, 173 vector<WeightClass> *distance, 181 WeightClass weight_threshold = 182 fst::script::WeightClass::Zero(),
|
D | disambiguate.h | 30 WeightClass weight_threshold; 35 WeightClass w = 36 fst::script::WeightClass::Zero(),
|
D | determinize.h | 30 WeightClass weight_threshold; 35 WeightClass w = 36 fst::script::WeightClass::Zero(),
|
D | text-io.h | 43 vector<WeightClass>* potential); 46 const vector<WeightClass>& potential);
|
D | reweight.h | 31 typedef args::Package<MutableFstClass *, const vector<WeightClass> &, 47 void Reweight(MutableFstClass *fst, const vector<WeightClass> &potential,
|
D | map.h | 52 const WeightClass &> MapInnerArgs; 118 const WeightClass &w = fst::script::WeightClass::Zero());
|
D | fstscript-decl.h | 30 class WeightClass; variable
|
/external/openfst/src/bin/ |
D | fstshortestpath.cc | 37 using fst::script::WeightClass; in main() 57 WeightClass weight_threshold = FLAGS_weight.empty() ? in main() 58 WeightClass::Zero() : in main() 59 WeightClass(ifst->WeightType(), FLAGS_weight); in main() 62 vector<WeightClass> distance; in main()
|
D | fstprune.cc | 34 using fst::script::WeightClass; in main() 53 WeightClass weight_threshold = FLAGS_weight.empty() ? in main() 54 WeightClass::Zero() : in main() 55 WeightClass(fst->WeightType(), FLAGS_weight); in main()
|
D | fstrmepsilon.cc | 38 using fst::script::WeightClass; in main() 57 WeightClass weight_threshold = FLAGS_weight.empty() ? in main() 58 WeightClass::Zero() : in main() 59 WeightClass(ifst->WeightType(), FLAGS_weight); in main()
|
D | fstmap.cc | 58 s::WeightClass w = !FLAGS_weight.empty() ? in main() 59 s::WeightClass(ifst->WeightType(), FLAGS_weight) : in main() 61 s::WeightClass::One() : s::WeightClass::Zero()); in main()
|
D | fstdeterminize.cc | 37 using fst::script::WeightClass; in main() 60 WeightClass::Zero() : WeightClass(ifst->WeightType(), FLAGS_weight), in main()
|
/external/openfst/src/script/ |
D | text-io.cc | 33 vector<WeightClass>* potential) { in ReadPotentials() 58 WeightClass weight(weight_type, col[1]); in ReadPotentials() 61 potential->push_back(WeightClass::Zero()); in ReadPotentials() 69 const vector<WeightClass>& potential) { in WritePotentials()
|
D | weight-class.cc | 29 WeightClass::WeightClass(const string &weight_type, in WeightClass() function in fst::script::WeightClass 39 ostream& operator << (ostream &o, const WeightClass &c) { in operator <<()
|
D | shortest-distance.cc | 25 void ShortestDistance(const FstClass &fst, vector<WeightClass> *distance, in ShortestDistance() 34 void ShortestDistance(const FstClass &ifst, vector<WeightClass> *distance, in ShortestDistance() 43 WeightClass ShortestDistance(const FstClass &ifst) { in ShortestDistance()
|
D | shortest-path.cc | 25 vector<WeightClass> *distance, in ShortestPath() 35 WeightClass weight_threshold, int64 state_threshold) { in ShortestPath()
|
D | rmepsilon.cc | 34 const WeightClass &weight_threshold, in RmEpsilon() 41 void RmEpsilon(MutableFstClass *fst, vector<WeightClass> *distance, in RmEpsilon()
|
D | prune.cc | 43 const WeightClass& weight_threshold, in Prune() 51 void Prune(MutableFstClass *fst, const WeightClass& weight_threshold, in Prune()
|
D | reweight.cc | 24 void Reweight(MutableFstClass *fst, const vector<WeightClass> &potential, in Reweight()
|
D | map.cc | 25 float delta, const WeightClass &w) { in Map()
|
/external/openfst/src/extensions/pdt/ |
D | pdtexpand.cc | 60 s::WeightClass weight_threshold = FLAGS_weight.empty() ? in main() 61 s::WeightClass::Zero() : in main() 62 s::WeightClass(ifst->WeightType(), FLAGS_weight); in main()
|