HomeSort by relevance Sort by last modified time
    Searched refs:Weight (Results 26 - 50 of 166) sorted by null

12 3 4 5 6 7

  /external/srec/tools/thirdparty/OpenFst/fst/lib/
randgen.h 34 // transition is selected. If N == NumArcs(), then the final weight at
44 typedef typename A::Weight Weight;
51 if (fst.Final(s) != Weight::Zero())
58 // log probabilities after normalizing for the total weight leaving
59 // the state). Weight::zero transitions are disregarded.
60 // Assumes Weight::Value() accesses the floating point
61 // representation of the weight.
65 typedef typename A::Weight Weight;
    [all...]
rational.h 53 typedef typename A::Weight Weight;
71 rfst_.SetFinal(1, Weight::One());
75 rfst_.AddArc(0, A(0, -1, Weight::One(), 1));
76 rfst_.AddArc(0, A(0, -2, Weight::One(), 1));
94 rfst_.SetFinal(2, Weight::One());
98 rfst_.AddArc(0, A(0, -1, Weight::One(), 1));
99 rfst_.AddArc(1, A(0, -2, Weight::One(), 2));
115 rfst_.SetFinal(0, Weight::One());
116 rfst_.AddArc(0, A(0, -1, Weight::One(), 0))
    [all...]
reverse.h 27 // MutableFst. If A transduces string x to y with weight a, then the
29 // weight a.Reverse().
34 // the input arc type except having the reversed Weight type.
38 typedef typename Arc::Weight Weight;
39 typedef typename RevArc::Weight RevWeight;
58 Weight final = ifst.Final(is);
59 if (final != Weight::Zero()) {
68 RevArc oarc(iarc.ilabel, iarc.olabel, iarc.weight.Reverse(), os);
closure.h 28 // MutableFst input. If FST transduces string x to y with weight a,
29 // then the closure transduces x to y with weight a, xx to yy with
30 // weight Times(a, a), xxx to yyy with with Times(Times(a, a), a),
32 // transduced to itself with weight Weight::One() as well.
42 typedef typename Arc::Weight Weight;
50 Weight final = fst->Final(s);
51 if (final != Weight::Zero())
57 fst->SetFinal(nstart, Weight::One())
    [all...]
factor-weight.h 1 // factor-weight.h
50 // A factor iterator takes as argument a weight w and returns a
149 typedef typename A::Weight Weight;
156 Element(StateId s, Weight w) : state(s), weight(w) {}
159 Weight weight; // Residual weight member in struct:fst::FactorWeightFstImpl::Element
165 SetType("factor-weight");
    [all...]
rmfinalepsilon.h 33 typedef typename A::Weight Weight;
48 if (fst->Final(s) != Weight::Zero()) {
63 // Move the final weight. Complexity O(E)
67 Weight w(fst->Final(s));
76 w = Plus(Times(fst->Final(arc.nextstate), arc.weight), w);
statesort.h 36 typedef typename Arc::Weight Weight;
57 Weight final1 = fst->Final(s1), final2 = Weight::Zero();
complement.h 54 typedef typename A::Weight Weight;
76 Weight Final(StateId s) const {
77 if (s == 0 || fst_->Final(s - 1) == Weight::Zero())
78 return Weight::One();
80 return Weight::Zero();
115 typedef typename A::Weight Weight;
134 virtual Weight Final(StateId s) const { return impl_->Final(s); }
219 typedef typename A::Weight Weight
    [all...]
map.h 31 // A final weight is mapped into a final weight. An error
35 // A final weight is mapped to an arc to the superfinal state
36 // when the result cannot be represented as a final weight.
40 // A final weight is mapped to an arc to the superfinal state
41 // unless the result can be represented as a final weight of weight
56 // // form A(0, 0, weight, kNoStateId).
83 typedef typename A::Weight Weight;
    [all...]
concat.h 31 // with weight a and FST2 transduces string w to v with weight b, then
42 typedef typename Arc::Weight Weight;
70 Weight final = fst1->Final(s1);
71 if (final != Weight::Zero()) {
72 fst1->SetFinal(s1, Weight::Zero());
94 // delayed Fst. If FST1 transduces string x to y with weight a and FST2
95 // transduces string w to v with weight b, then their concatenation
110 typedef typename A::Weight Weight
    [all...]
union.h 29 // weight a and B transduces string w to v with weight b, then their
30 // union transduces x to y with weight a and w to v with weight b.
40 typedef typename Arc::Weight Weight;
73 fst1->AddArc(start1, Arc(0, 0, Weight::One(), start2 + numstates1));
77 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start1));
78 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start2 + numstates1));
96 // Fst. If A transduces string x to y with weight a and B transduce
    [all...]
  /external/openfst/src/include/fst/
reverse.h 34 // MutableFst. If A transduces string x to y with weight a, then the
36 // weight a.Reverse().
41 // the input arc type except having the reversed Weight type.
45 typedef typename Arc::Weight Weight;
46 typedef typename RevArc::Weight RevWeight;
67 Weight final = ifst.Final(is);
68 if (final != Weight::Zero()) {
77 RevArc oarc(iarc.ilabel, iarc.olabel, iarc.weight.Reverse(), os);
closure.h 35 // MutableFst input. If FST transduces string x to y with weight a,
36 // then the closure transduces x to y with weight a, xx to yy with
37 // weight Times(a, a), xxx to yyy with with Times(Times(a, a), a),
39 // transduced to itself with weight Weight::One() as well.
49 typedef typename Arc::Weight Weight;
57 Weight final = fst->Final(s);
58 if (final != Weight::Zero())
65 fst->SetFinal(nstart, Weight::One())
    [all...]
randequivalent.h 48 typedef typename Arc::Weight Weight;
86 if (!(Weight::Properties() & kIdempotent) &&
89 Weight sum1 = ShortestDistance(pfst1);
96 if (!(Weight::Properties() & kIdempotent) &&
99 Weight sum2 = ShortestDistance(pfst2);
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...]
concat.h 35 // transduces string x to y with weight a and FST2 transduces string w
36 // to v with weight b, then their concatenation transduces string xw
50 typedef typename Arc::Weight Weight;
93 Weight final = fst1->Final(s1);
94 if (final != Weight::Zero()) {
95 fst1->SetFinal(s1, Weight::Zero());
116 typedef typename Arc::Weight Weight;
145 Weight final = fst1.Final(s1)
    [all...]
union.h 36 // weight a and B transduces string w to v with weight b, then their
37 // union transduces x to y with weight a and w to v with weight b.
47 typedef typename Arc::Weight Weight;
98 fst1->AddArc(start1, Arc(0, 0, Weight::One(), start2 + numstates1));
102 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start1));
103 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start2 + numstates1));
121 // Fst. If A transduces string x to y with weight a and B transduce
    [all...]
rmepsilon.h 38 #include <fst/factor-weight.h>
53 typedef typename Arc::Weight Weight;
56 Weight weight_threshold; // Pruning weight threshold.
60 Weight w = Weight::Zero(),
75 typedef typename Arc::Weight Weight;
78 vector<Weight> *distance
    [all...]
arc-map.h 41 // A final weight is mapped into a final weight. An error
45 // A final weight is mapped to an arc to the superfinal state
46 // when the result cannot be represented as a final weight.
50 // A final weight is mapped to an arc to the superfinal state
51 // unless the result can be represented as a final weight of weight
83 // // form A(0, 0, weight, kNoStateId).
114 typedef typename A::Weight Weight;
    [all...]
  /external/openfst/src/include/fst/script/
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()
shortest-distance.h 25 #include <fst/script/weight-class.h>
61 const vector<typename Arc::Weight> *) {
73 const vector<typename Arc::Weight> *distance) {
80 typename Arc::Weight>,
83 static NaturalShortestFirstQueue<typename Arc::StateId, typename Arc::Weight>
85 const vector<typename Arc::Weight> *distance) {
87 typename Arc::Weight>(*distance);
95 const Fst<Arc> &fst, const vector<typename Arc::Weight> *weights) {
106 vector<typename Arc::Weight> weights;
166 typedef typename Arc::Weight Weight
    [all...]
rmepsilon.h 25 #include <fst/script/weight-class.h>
66 vector<typename Arc::Weight> *distance,
69 typedef typename Arc::Weight Weight;
71 typename Arc::Weight weight_thresh =
72 *(opts.weight_threshold.GetWeight<Weight>());
100 NaturalShortestFirstQueue<StateId, Weight> queue(*distance);
102 Weight> > ropts(
138 vector<typename Arc::Weight> distance;
160 typename Arc::Weight w = *(args->arg3.GetWeight<typename Arc::Weight>())
    [all...]
weight-class.h 17 // Represents a generic weight in an FST -- that is, represents a specific
18 // type of weight underneath while hiding that type from a client.
44 W weight; member in struct:fst::script::WeightClassImpl
46 explicit WeightClassImpl(const W& weight) : weight(weight) { }
49 return new WeightClassImpl<W>(weight);
55 *o << weight; local
60 WeightToStr(weight, &str);
71 return typed_other->weight == weight
    [all...]
  /external/openfst/src/include/fst/extensions/pdt/
expand.h 80 typedef typename A::Weight Weight;
137 Weight Final(StateId s) {
140 Weight w = fst_->Final(tuple.state_id);
141 if (w != Weight::Zero() && tuple.stack_id == 0)
144 SetFinal(s, Weight::Zero());
232 typedef typename A::Weight Weight;
340 typedef typename A::Weight Weight;
    [all...]
  /external/chromium_org/third_party/WebKit/public/web/
WebFontDescription.h 60 enum Weight {
79 , weight(WeightNormal)
91 Weight weight; member in struct:blink::WebFontDescription

Completed in 2436 milliseconds

12 3 4 5 6 7