Lines Matching full:labels
106 // Replaces Fsts specified by labels.
108 void ReplaceLabels(const vector<Label> &labels);
424 void ReplaceUtil<Arc>::ReplaceLabels(const vector<Label> &labels) {
427 for (Label i = 0; i < labels.size(); ++i)
428 if (labels[i] != root_label_) // can't replace root
429 label_set.insert(labels[i]);
431 // Finds Fst dependencies restricted to the labels requested.
480 vector<Label> labels;
494 labels.push_back(nonterminal_array_[j]);
498 ReplaceLabels(labels);
503 vector<Label> labels;
514 labels.push_back(nonterminal_array_[j]);
518 ReplaceLabels(labels);