Home | History | Annotate | Download | only in lib

Lines Matching refs:label

37 // encoding and decoding of label/weight tuples used for encoding
40 // label, and the reverse.
43 typedef typename A::Label Label;
49 Tuple(Label ilabel_, Label olabel_, Weight weight_)
54 Label ilabel;
55 Label olabel;
97 Label,
112 Label Encode(const A &arc) {
126 // Given an encode arc Label decode back to input/output labels and costs
127 const Tuple* Decode(Label key) {
128 return key <= (Label)encode_tuples_.size() ? encode_tuples_[key - 1] : 0;
207 typedef typename A::Label Label;
231 if (type_ == ENCODE) { // labels and/or weights to single label
237 Label label = table_->Encode(arc);
238 return A(label,
239 flags_ & kEncodeLabels ? label : arc.olabel,
332 // On the fly label and/or weight encoding of input Fst
357 // On the fly label and/or weight encoding of input Fst