Lines Matching defs:arc
48 typedef A Arc;
86 Arc arc;
96 arc.nextstate = d = StrToStateId(col[1]);
97 arc.ilabel = StrToILabel(col[2]);
98 arc.olabel = arc.ilabel;
99 arc.weight = Weight::One();
100 fst_.AddArc(s, arc);
103 arc.nextstate = d = StrToStateId(col[1]);
104 arc.ilabel = StrToILabel(col[2]);
106 arc.olabel = arc.ilabel;
107 arc.weight = StrToWeight(col[3], false);
109 arc.olabel = StrToOLabel(col[3]);
110 arc.weight = Weight::One();
112 fst_.AddArc(s, arc);
115 arc.nextstate = d = StrToStateId(col[1]);
116 arc.ilabel = StrToILabel(col[2]);
117 arc.olabel = StrToOLabel(col[3]);
118 arc.weight = StrToWeight(col[4], false);
119 fst_.AddArc(s, arc);
180 return StrToId(s, isyms_, "arc ilabel", allow_negative_labels_);
184 return StrToId(s, osyms_, "arc olabel", allow_negative_labels_);