/external/openfst/src/include/fst/ |
arc.h | 28 #include <fst/expectation-weight.h> 29 #include <fst/float-weight.h> 30 #include <fst/lexicographic-weight.h> 31 #include <fst/power-weight.h> 32 #include <fst/product-weight.h> 33 #include <fst/signed-log-weight.h> 34 #include <fst/sparse-power-weight.h> 38 #include <fst/string-weight.h> 46 typedef W Weight; 50 ArcTpl(Label i, Label o, const Weight& w, StateId s 63 Weight weight; member in class:fst::ArcTpl 99 Weight weight; \/\/ Transition weight member in class:fst::StringArc 133 Weight weight; \/\/ Transition weight member in struct:fst::GallicArc 158 Weight weight; \/\/ Transition weight member in struct:fst::ReverseArc 182 Weight weight; \/\/ Transition weight member in struct:fst::LexicographicArc 206 Weight weight; \/\/ Transition weight member in struct:fst::ProductArc 238 Weight weight; \/\/ Transition weight member in struct:fst::PowerArc 270 Weight weight; \/\/ Transition weight member in struct:fst::SparsePowerArc 301 Weight weight; \/\/ Transition weight member in struct:fst::ExpectationArc [all...] |
arcsort.h | 43 typedef typename Arc::Weight Weight; 54 Weight Final(StateId s) const { return fst_.Final(s); }
|
prune.h | 37 typedef typename A::Weight Weight; 40 // Pruning weight threshold. 41 Weight weight_threshold; 47 const vector<Weight> *distance; 52 explicit PruneOptions(const Weight& w, StateId s, ArcFilter f, 53 vector<Weight> *d = 0, float e = kDelta) 68 typedef W Weight; 70 PruneCompare(const vector<Weight> &idistance, 71 const vector<Weight> &fdistance 158 Weight weight = Times(Times(idistance[s], arc.weight), local 284 Weight weight = Times(Times(idistance[s], arc.weight), local [all...] |
random-weight.h | 1 // random-weight.h 31 #include <fst/float-weight.h> 32 #include <fst/product-weight.h> 33 #include <fst/string-weight.h> 34 #include <fst/lexicographic-weight.h> 35 #include <fst/power-weight.h> 36 #include <fst/signed-log-weight.h> 37 #include <fst/sparse-power-weight.h> 43 // divisors should be returned in the random weight generation. 50 typedef TropicalWeightTpl<T> Weight; [all...] |
shortest-distance.h | 51 // the final states have the same final weight), the 75 typedef typename Arc::Weight Weight; 79 vector<Weight> *distance, 97 vector<Weight> *distance_; 104 vector<Weight> rdistance_; // Relaxation distance. 123 if (!(Weight::Properties() & kRightSemiring)) { 124 FSTERROR() << "ShortestDistance: Weight needs to be right distributive: " 125 << Weight::Type(); 130 if (first_path_ && !(Weight::Properties() & kPath)) [all...] |
state-reachable.h | 49 typedef typename A::Weight Weight; 71 if (fst_.Final(s) != Weight::Zero()) { 113 if (index_ >= 0 && fst_.Final(s) != Weight::Zero()) { 145 typedef typename A::Weight Weight;
|
string.h | 40 typedef typename A::Weight Weight; 61 bool operator()(const string &s, F *fst, Weight w) const { 96 const Weight &weight = Weight::One()) const { 101 fst->AddArc(i, Arc(labels[i], labels[i], Weight::One(), i + 1)); 103 fst->SetFinal(labels.size(), weight); 115 const Weight &weight = Weight::One()) const [all...] |
add-on.h | 148 typedef typename Arc::Weight Weight; 187 Weight Final(StateId s) const { return fst_.Final(s); }
|
complement.h | 60 typedef typename A::Weight Weight; 93 Weight Final(StateId s) const { 94 if (s == 0 || fst_->Final(s - 1) == Weight::Zero()) 95 return Weight::One(); 97 return Weight::Zero(); 238 typedef typename A::Weight Weight; 259 arc_.weight = Weight::One() [all...] |
connect.h | 39 typedef typename Arc::Weight Weight; 124 typedef typename A::Weight Weight; 258 if (fst_->Final(s) != Weight::Zero())
|
matcher-fst.h | 250 typedef typename Arc::Weight Weight; 286 Weight LookAheadWeight() const { return matcher_->LookAheadWeight(); }
|
mutable-fst.h | 44 typedef typename A::Weight Weight; 54 virtual void SetFinal(StateId, Weight) = 0; // Set a state's final weight 220 typename A::Weight Final(const MutableFst<A> &fst, typename A::StateId s) { 253 typedef typename Arc::Weight Weight; 264 virtual void SetFinal(StateId s, Weight w) {
|
rational.h | 61 typedef typename A::Weight Weight; 98 Weight Final(StateId s) { return Replace()->Final(s); } 130 rfst_.SetFinal(1, Weight::One()); 134 rfst_.AddArc(0, A(0, -1, Weight::One(), 1)); 135 rfst_.AddArc(0, A(0, -2, Weight::One(), 1)); 153 rfst_.SetFinal(2, Weight::One()); 157 rfst_.AddArc(0, A(0, -1, Weight::One(), 1)); 158 rfst_.AddArc(1, A(0, -2, Weight::One(), 2)); 174 rfst_.SetFinal(0, Weight::One()) [all...] |
relabel.h | 208 typedef typename A::Weight Weight; 299 Weight Final(StateId s) { 393 typedef typename A::Weight Weight;
|
shortest-path.h | 43 typedef typename Arc::Weight Weight; 53 Weight weight_threshold; // pruning weight threshold. 58 bool fp = false, Weight w = Weight::Zero(), 72 // The shortest path is the lowest weight path w.r.t. the natural 80 vector<typename Arc::Weight> *distance, 83 typedef typename Arc::Weight Weight; [all...] |
/external/openfst/src/include/fst/extensions/pdt/ |
info.h | 44 typedef typename A::Weight Weight;
|
pdtscript.h | 112 *(args->arg4.weight_threshold.GetWeight<typename Arc::Weight>()))); 206 typedef typename Arc::Weight Weight;
|
replace.h | 59 typedef typename Arc::Weight Weight; 80 // PDT state, weight pairs corr. to ith replace FST final state & weights. 81 vector< vector<pair<StateId, Weight> > > fst_final(ifst_array.size()); 101 if (ifst->Final(is) != Weight::Zero()) { 178 Arc sarc(open_paren, open_paren, arc.weight, fst_start[nfst_id]); 183 pair<StateId, Weight> &p = fst_final[nfst_id][i];
|
/external/openfst/src/include/fst/script/ |
compile-impl.h | 51 typedef typename A::Weight Weight; 90 fst_.SetFinal(s, Weight::One()); 99 arc.weight = Weight::One(); 107 arc.weight = StrToWeight(col[3], false); 110 arc.weight = Weight::One(); 118 arc.weight = StrToWeight(col[4], false); 187 Weight StrToWeight(const char *s, bool allow_zero) const [all...] |
print-impl.h | 43 typedef typename A::Weight Weight; 121 if (show_weight_one_ || arc.weight != Weight::One()) 122 *ostrm_ << FLAGS_fst_field_separator[0] << arc.weight; 126 Weight final = fst_.Final(s); 127 if (final != Weight::Zero() || !output) { 129 if (show_weight_one_ || final != Weight::One()) { 143 bool show_weight_one_; // print weights equal to Weight::One()
|
draw-impl.h | 41 typedef typename A::Weight Weight; 169 Weight final = fst_.Final(s); 170 if (final != Weight::Zero()) { 171 if (show_weight_one_ || (final != Weight::One())) { 200 if (show_weight_one_ || (arc.weight != Weight::One())) { 202 Print(arc.weight);
|
/external/openfst/src/test/ |
algo_test.h | 25 #include <fst/random-weight.h> 39 return A(0, 0, arc.weight, arc.nextstate); 67 typedef typename Arc::Weight Weight; 197 if (Weight::Properties() & kLeftSemiring) { 216 if (Weight::Properties() & kRightSemiring) { 234 if (Weight::Properties() & kLeftSemiring) { 246 if (Weight::Properties() & kRightSemiring) { 259 if (Weight::Properties() & kLeftSemiring) { 273 if (Weight::Properties() & kRightSemiring) [all...] |
fst_test.cc | 34 typedef ProductWeight<TropicalWeight, LogWeight> Weight; 37 CustomArc(Label i, Label o, Weight w, StateId s) : 38 ilabel(i), olabel(o), weight(w), nextstate(s) {} 48 Weight weight; // Transition weight member in struct:fst::CustomArc 60 typedef typename A::Weight Weight; 61 typedef pair<Label, Weight> Element; 64 return make_pair(arc.ilabel, arc.weight); [all...] |
/external/skia/include/core/ |
SkFontStyle.h | 15 enum Weight { 45 SkFontStyle(int weight, int width, Slant); 53 int weight() const { return fUnion.fR.fWeight; } function in class:SkFontStyle
|
/external/openfst/src/include/fst/extensions/far/ |
compile-strings.h | 46 typedef typename A::Weight Weight;
|