/external/openfst/src/include/fst/script/ |
fstscript-decl.h | 30 class WeightClass;
|
text-io.h | 17 // Modified: jpr@google.com (Jake Ratkiewicz) to work with generic WeightClass 43 vector<WeightClass>* potential); 46 const vector<WeightClass>& potential);
|
weight-class.h | 77 class WeightClass { 79 WeightClass() : element_type_(ZERO), impl_(0) { } 82 explicit WeightClass(const W& weight) 85 WeightClass(const string &weight_type, const string &weight_str); 87 WeightClass(const WeightClass &other) : 91 WeightClass &operator = (const WeightClass &other) { 113 bool operator == (const WeightClass &other) const { 119 static const WeightClass &Zero() [all...] |
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,
|
reweight.h | 31 typedef args::Package<MutableFstClass *, const vector<WeightClass> &, 47 void Reweight(MutableFstClass *fst, const vector<WeightClass> &potential,
|
determinize.h | 30 WeightClass weight_threshold; 35 WeightClass w = 36 fst::script::WeightClass::Zero(),
|
disambiguate.h | 30 WeightClass weight_threshold; 35 WeightClass w = 36 fst::script::WeightClass::Zero(),
|
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>*, 211 // convert the typed weights back into 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 [all...] |
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]); 197 const WeightClass &weight_threshold = 198 fst::script::WeightClass::Zero(), 203 void RmEpsilon(MutableFstClass *fst, vector<WeightClass> *distance,
|
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]); 156 size_t, bool, bool, WeightClass, 173 vector<WeightClass> *distance, 181 WeightClass weight_threshold = 182 fst::script::WeightClass::Zero(),
|
/external/openfst/src/script/ |
weight-class.cc | 29 WeightClass::WeightClass(const string &weight_type, 36 impl_ = stw(weight_str, "WeightClass", 0); 39 ostream& operator << (ostream &o, const WeightClass &c) {
|
text-io.cc | 33 vector<WeightClass>* potential) { 58 WeightClass weight(weight_type, col[1]); 61 potential->push_back(WeightClass::Zero()); 69 const vector<WeightClass>& potential) {
|
shortest-distance.cc | 25 void ShortestDistance(const FstClass &fst, vector<WeightClass> *distance, 34 void ShortestDistance(const FstClass &ifst, vector<WeightClass> *distance, 43 WeightClass ShortestDistance(const FstClass &ifst) {
|
map.cc | 25 float delta, const WeightClass &w) {
|
reweight.cc | 24 void Reweight(MutableFstClass *fst, const vector<WeightClass> &potential,
|
rmepsilon.cc | 34 const WeightClass &weight_threshold, 41 void RmEpsilon(MutableFstClass *fst, vector<WeightClass> *distance,
|
shortest-path.cc | 25 vector<WeightClass> *distance, 35 WeightClass weight_threshold, int64 state_threshold) {
|
prune.cc | 43 const WeightClass& weight_threshold, 51 void Prune(MutableFstClass *fst, const WeightClass& weight_threshold,
|
/external/openfst/src/bin/ |
fstprune.cc | 34 using fst::script::WeightClass; 53 WeightClass weight_threshold = FLAGS_weight.empty() ? 54 WeightClass::Zero() : 55 WeightClass(fst->WeightType(), FLAGS_weight);
|
fstshortestpath.cc | 37 using fst::script::WeightClass; 57 WeightClass weight_threshold = FLAGS_weight.empty() ? 58 WeightClass::Zero() : 59 WeightClass(ifst->WeightType(), FLAGS_weight); 62 vector<WeightClass> distance;
|
fstmap.cc | 58 s::WeightClass w = !FLAGS_weight.empty() ? 59 s::WeightClass(ifst->WeightType(), FLAGS_weight) : 61 s::WeightClass::One() : s::WeightClass::Zero());
|
fstrmepsilon.cc | 38 using fst::script::WeightClass; 57 WeightClass weight_threshold = FLAGS_weight.empty() ? 58 WeightClass::Zero() : 59 WeightClass(ifst->WeightType(), FLAGS_weight);
|
fstdeterminize.cc | 37 using fst::script::WeightClass; 60 WeightClass::Zero() : WeightClass(ifst->WeightType(), FLAGS_weight),
|
fstreweight.cc | 51 vector<s::WeightClass> potential;
|
/external/openfst/src/extensions/pdt/ |
pdtexpand.cc | 60 s::WeightClass weight_threshold = FLAGS_weight.empty() ? 61 s::WeightClass::Zero() : 62 s::WeightClass(ifst->WeightType(), FLAGS_weight);
|