Lines Matching refs:fstinfo
232 void PrintFstInfo(const FstInfo<A> &fstinfo, bool pipe = false) {
237 os << "fst type" << fstinfo.FstType() << endl;
239 os << "arc type" << fstinfo.ArcType() << endl;
241 os << "input symbol table" << fstinfo.InputSymbols() << endl;
243 os << "output symbol table" << fstinfo.OutputSymbols() << endl;
245 if (!fstinfo.LongInfo()) {
251 os << "# of states" << fstinfo.NumStates() << endl;
253 os << "# of arcs" << fstinfo.NumArcs() << endl;
255 os << "initial state" << fstinfo.Start() << endl;
257 os << "# of final states" << fstinfo.NumFinal() << endl;
259 os << "# of input/output epsilons" << fstinfo.NumEpsilons() << endl;
261 os << "# of input epsilons" << fstinfo.NumInputEpsilons() << endl;
263 os << "# of output epsilons" << fstinfo.NumOutputEpsilons() << endl;
267 if (fstinfo.ArcFilterType() == "epsilon")
269 else if (fstinfo.ArcFilterType() == "iepsilon")
271 else if (fstinfo.ArcFilterType() == "oepsilon")
276 os << accessible_label << fstinfo.NumAccessible() << endl;
279 os << coaccessible_label << fstinfo.NumCoAccessible() << endl;
282 os << connected_label << fstinfo.NumConnected() << endl;
285 os << numcc_label << fstinfo.NumCc() << endl;
288 os << numscc_label << fstinfo.NumScc() << endl;
292 << (fstinfo.InputMatchType() == MATCH_INPUT ? 'y' :
293 fstinfo.InputMatchType() == MATCH_NONE ? 'n' : '?') << endl;
296 << (fstinfo.OutputMatchType() == MATCH_OUTPUT ? 'y' :
297 fstinfo.OutputMatchType() == MATCH_NONE ? 'n' : '?') << endl;
300 << (fstinfo.InputLookAhead() ? 'y' : 'n') << endl;
303 << (fstinfo.OutputLookAhead() ? 'y' : 'n') << endl;
309 if (fstinfo.Properties() & prop) value = 'y';
314 if (fstinfo.Properties() & prop) value = 'y';
315 else if (fstinfo.Properties() & prop << 1) value = 'n';