Home
last modified time | relevance | path

Searched refs:osyms (Results 1 – 22 of 22) sorted by relevance

/external/openfst/src/include/fst/script/
Dprint.h34 const SymbolTable *osyms; member
43 const SymbolTable *osyms, in FstPrinterArgs()
49 fst(fst), isyms(isyms), osyms(osyms), ssyms(ssyms), accept(accept), in FstPrinterArgs()
57 fst::FstPrinter<Arc> fstprinter(fst, args->isyms, args->osyms, in PrintFst()
65 const SymbolTable *osyms,
75 const SymbolTable *osyms = NULL,
77 fst::FstPrinter<Arc> fstprinter(fst, isyms, osyms, ssyms, true, true);
Dcompile.h37 const fst::SymbolTable *osyms; member
47 const fst::SymbolTable *osyms,
52 isyms(isyms), osyms(osyms), ssyms(ssyms), accep(accep), ikeep(ikeep), in istrm()
64 args->osyms, args->ssyms, in CompileFst()
85 const SymbolTable *osyms, const SymbolTable *ssyms,
Ddraw.h36 const SymbolTable *osyms; member
54 const SymbolTable *osyms, in FstDrawerArgs()
69 fst(fst), isyms(isyms), osyms(osyms), ssyms(ssyms), accep(accep), in FstDrawerArgs()
81 FstDrawer<Arc> fstdrawer(fst, args->isyms, args->osyms, args->ssyms, in DrawFst()
92 const SymbolTable *osyms,
Dcompile-impl.h55 const SymbolTable *isyms, const SymbolTable *osyms,
59 isyms_(isyms), osyms_(osyms), ssyms_(ssyms),
126 fst_.SetOutputSymbols(osyms);
Dprint-impl.h47 const SymbolTable *osyms, in FstPrinter() argument
51 : fst_(fst), isyms_(isyms), osyms_(osyms), ssyms_(ssyms), in FstPrinter()
Ddraw-impl.h45 const SymbolTable *osyms, in FstDrawer() argument
58 : fst_(fst), isyms_(isyms), osyms_(osyms), ssyms_(ssyms), in FstDrawer()
/external/openfst/src/bin/
Dfstprint.cc71 const SymbolTable *isyms = 0, *osyms = 0, *ssyms = 0; in main() local
79 osyms = SymbolTable::ReadText(FLAGS_osymbols, FLAGS_allow_negative_labels); in main()
80 if (!osyms) exit(1); in main()
90 if (!osyms && !FLAGS_numeric) in main()
91 osyms = fst->OutputSymbols(); in main()
93 s::PrintFst(*fst, *ostrm, dest, isyms, osyms, ssyms, in main()
99 if (osyms && !FLAGS_save_osymbols.empty()) in main()
100 osyms->WriteText(FLAGS_save_osymbols); in main()
Dfstdraw.cc80 const SymbolTable *isyms = 0, *osyms = 0, *ssyms = 0; in main() local
88 osyms = SymbolTable::ReadText(FLAGS_osymbols, FLAGS_allow_negative_labels); in main()
89 if (!osyms) exit(1); in main()
99 if (!osyms && !FLAGS_numeric) in main()
100 osyms = fst->OutputSymbols(); in main()
102 s::DrawFst(*fst, isyms, osyms, ssyms, FLAGS_acceptor, in main()
112 if (osyms && !FLAGS_save_osymbols.empty()) in main()
113 osyms->WriteText(FLAGS_save_osymbols); in main()
Dfstsymbols.cc73 const SymbolTable *osyms = fst->OutputSymbols(); in main() local
74 if (osyms) { in main()
75 osyms->WriteText(FLAGS_save_osymbols); in main()
108 SymbolTable *osyms = RelabelSymbolTable(fst->OutputSymbols(), opairs); in main() local
109 fst->SetOutputSymbols(osyms); in main()
110 delete osyms; in main()
Dfstcompile.cc64 const SymbolTable *isyms = 0, *osyms = 0, *ssyms = 0; in main() local
72 osyms = SymbolTable::ReadText(FLAGS_osymbols, FLAGS_allow_negative_labels); in main()
73 if (!osyms) exit(1); in main()
84 isyms, osyms, ssyms, in main()
/external/srec/tools/grxmlcompile/
Dfst-io.h50 const SymbolTable *osyms, in FstPrinter() argument
53 : fst_(fst), isyms_(isyms), osyms_(osyms), ssyms_(ssyms), in FstPrinter()
167 const SymbolTable *isyms = 0, *osyms = 0, *ssyms = 0;
175 osyms = SymbolTable::ReadText(FLAGS_osymbols);
176 if (!osyms) exit(1);
186 if (!osyms && !FLAGS_numeric)
187 osyms = fst->OutputSymbols();
189 FstPrinter<Arc> fstprinter(*fst, isyms, osyms, ssyms, FLAGS_acceptor);
195 if (osyms && !FLAGS_save_osymbols.empty())
196 osyms->WriteText(FLAGS_save_osymbols);
[all …]
/external/openfst/src/include/fst/
Dverify.h39 const SymbolTable *osyms = fst.OutputSymbols();
79 } else if (osyms && osyms->Find(arc.olabel) == "") {
83 << osyms->Name() << "\"";
Dmutable-fst.h82 virtual void SetOutputSymbols(const SymbolTable* osyms) = 0;
341 virtual void SetOutputSymbols(const SymbolTable* osyms) { in SetOutputSymbols() argument
343 GetImpl()->SetOutputSymbols(osyms); in SetOutputSymbols()
Dminimize.h559 SymbolTable *osyms = fst->OutputSymbols() ? variable
562 fst->SetOutputSymbols(osyms);
563 delete osyms; variable
Dfst.h653 void SetOutputSymbols(const SymbolTable* osyms) { in SetOutputSymbols() argument
655 osymbols_ = osyms ? osyms->Copy() : 0; in SetOutputSymbols()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dverify.h36 const SymbolTable *osyms = fst.OutputSymbols(); in Verify() local
76 } else if (osyms && osyms->Find(arc.olabel) == "") { in Verify()
80 << osyms->Name() << "\""; in Verify()
Dfst.h444 void SetOutputSymbols(const SymbolTable* osyms) { in SetOutputSymbols() argument
446 osymbols_ = osyms ? osyms->Copy() : 0; in SetOutputSymbols()
Dmutable-fst.h66 virtual void SetOutputSymbols(const SymbolTable* osyms) = 0;
Dvector-fst.h623 virtual void SetOutputSymbols(const SymbolTable* osyms) { in SetOutputSymbols() argument
625 impl_->SetOutputSymbols(osyms); in SetOutputSymbols()
/external/openfst/src/script/
Dprint.cc28 const SymbolTable *osyms, in PrintFst() argument
31 FstPrinterArgs args(fst, isyms, osyms, ssyms, accept, show_weight_one, in PrintFst()
Dcompile.cc29 const SymbolTable *osyms, const SymbolTable *ssyms, in CompileFst() argument
32 FstCompileArgs args(istrm, source, dest, fst_type, isyms, osyms, ssyms, in CompileFst()
Ddraw.cc28 const SymbolTable *osyms, in DrawFst() argument
43 FstDrawerArgs args(fst, isyms, osyms, ssyms, accep, title, width, in DrawFst()