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

/external/openfst/src/bin/
H A Dfstprint.cc71 const SymbolTable *isyms = 0, *osyms = 0, *ssyms = 0; local
79 osyms = SymbolTable::ReadText(FLAGS_osymbols, FLAGS_allow_negative_labels);
80 if (!osyms) exit(1);
90 if (!osyms && !FLAGS_numeric)
91 osyms = fst->OutputSymbols();
93 s::PrintFst(*fst, *ostrm, dest, isyms, osyms, ssyms,
99 if (osyms && !FLAGS_save_osymbols.empty())
100 osyms->WriteText(FLAGS_save_osymbols);
H A Dfstdraw.cc80 const SymbolTable *isyms = 0, *osyms = 0, *ssyms = 0; local
88 osyms = SymbolTable::ReadText(FLAGS_osymbols, FLAGS_allow_negative_labels);
89 if (!osyms) exit(1);
99 if (!osyms && !FLAGS_numeric)
100 osyms = fst->OutputSymbols();
102 s::DrawFst(*fst, isyms, osyms, ssyms, FLAGS_acceptor,
112 if (osyms && !FLAGS_save_osymbols.empty())
113 osyms->WriteText(FLAGS_save_osymbols);
H A Dfstcompile.cc64 const SymbolTable *isyms = 0, *osyms = 0, *ssyms = 0; local
72 osyms = SymbolTable::ReadText(FLAGS_osymbols, FLAGS_allow_negative_labels);
73 if (!osyms) exit(1);
84 isyms, osyms, ssyms,
H A Dfstsymbols.cc73 const SymbolTable *osyms = fst->OutputSymbols(); local
74 if (osyms) {
75 osyms->WriteText(FLAGS_save_osymbols);
108 SymbolTable *osyms = RelabelSymbolTable(fst->OutputSymbols(), opairs); local
109 fst->SetOutputSymbols(osyms);
110 delete osyms;
/external/openfst/src/include/fst/script/
H A Dprint.h34 const SymbolTable *osyms; member in struct:fst::script::FstPrinterArgs
43 const SymbolTable *osyms,
49 fst(fst), isyms(isyms), osyms(osyms), ssyms(ssyms), accept(accept),
57 fst::FstPrinter<Arc> fstprinter(fst, args->isyms, args->osyms,
65 const SymbolTable *osyms,
75 const SymbolTable *osyms = NULL,
77 fst::FstPrinter<Arc> fstprinter(fst, isyms, osyms, ssyms, true, true);
41 FstPrinterArgs(const FstClass &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accept, bool show_weight_one, ostream *ostrm, const string &dest) argument
H A Dcompile.h37 const fst::SymbolTable *osyms; member in struct:fst::script::FstCompileArgs
47 const fst::SymbolTable *osyms,
52 isyms(isyms), osyms(osyms), ssyms(ssyms), accep(accep), ikeep(ikeep),
64 args->osyms, args->ssyms,
85 const SymbolTable *osyms, const SymbolTable *ssyms,
45 FstCompileArgs(istream &istrm, const string &source, const string &dest, const string &fst_type, const fst::SymbolTable *isyms, const fst::SymbolTable *osyms, const fst::SymbolTable *ssyms, bool accep, bool ikeep, bool okeep, bool nkeep, bool allow_negative_labels = false) argument
H A Ddraw.h36 const SymbolTable *osyms; member in struct:fst::script::FstDrawerArgs
54 const SymbolTable *osyms,
69 fst(fst), isyms(isyms), osyms(osyms), ssyms(ssyms), accep(accep),
81 FstDrawer<Arc> fstdrawer(fst, args->isyms, args->osyms, args->ssyms,
92 const SymbolTable *osyms,
52 FstDrawerArgs(const FstClass &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, const string &title, float width, float height, bool portrait, bool vertical, float ranksep, float nodesep, int fontsize, int precision, bool show_weight_one, ostream *ostrm, const string &dest) argument
H A Dprint-impl.h47 const SymbolTable *osyms,
51 : fst_(fst), isyms_(isyms), osyms_(osyms), ssyms_(ssyms),
45 FstPrinter(const Fst<A> &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, bool show_weight_one) argument
H A Dcompile-impl.h55 const SymbolTable *isyms, const SymbolTable *osyms,
59 isyms_(isyms), osyms_(osyms), ssyms_(ssyms),
126 fst_.SetOutputSymbols(osyms);
54 FstCompiler(istream &istrm, const string &source, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, bool ikeep, bool okeep, bool nkeep, bool allow_negative_labels = false) argument
H A Ddraw-impl.h45 const SymbolTable *osyms,
58 : fst_(fst), isyms_(isyms), osyms_(osyms), ssyms_(ssyms),
43 FstDrawer(const Fst<A> &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, string title, float width, float height, bool portrait, bool vertical, float ranksep, float nodesep, int fontsize, int precision, bool show_weight_one) argument
/external/openfst/src/script/
H A Dcompile.cc29 const SymbolTable *osyms, const SymbolTable *ssyms,
32 FstCompileArgs args(istrm, source, dest, fst_type, isyms, osyms, ssyms,
26 CompileFst(istream &istrm, const string &source, const string &dest, const string &fst_type, const string &arc_type, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, bool ikeep, bool okeep, bool nkeep, bool allow_negative_labels) argument
H A Ddraw.cc28 const SymbolTable *osyms,
43 FstDrawerArgs args(fst, isyms, osyms, ssyms, accep, title, width,
26 DrawFst(const FstClass &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, const string &title, float width, float height, bool portrait, bool vertical, float ranksep, float nodesep, int fontsize, int precision, bool show_weight_one, ostream *ostrm, const string &dest) argument
H A Dprint.cc28 const SymbolTable *osyms,
31 FstPrinterArgs args(fst, isyms, osyms, ssyms, accept, show_weight_one,
26 PrintFst(const FstClass &fst, ostream &ostrm, const string &dest, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accept, bool show_weight_one) argument
/external/srec/tools/grxmlcompile/
H A Dfst-io.h50 const SymbolTable *osyms,
53 : fst_(fst), isyms_(isyms), osyms_(osyms), ssyms_(ssyms),
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
48 FstPrinter(const Fst<A> &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep) argument
212 FstReader(istream &istrm, const string &source, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, bool ikeep, bool okeep, bool nkeep) argument
[all...]
/external/openfst/src/include/fst/
H A Dverify.h39 const SymbolTable *osyms = fst.OutputSymbols(); local
79 } else if (osyms && osyms->Find(arc.olabel) == "") {
83 << osyms->Name() << "\"";
H A Dmutable-fst.h82 virtual void SetOutputSymbols(const SymbolTable* osyms) = 0;
341 virtual void SetOutputSymbols(const SymbolTable* osyms) { argument
343 GetImpl()->SetOutputSymbols(osyms);
H A Dminimize.h559 SymbolTable *osyms = fst->OutputSymbols() ? local
562 fst->SetOutputSymbols(osyms);
563 delete osyms;
H A Dfst.h653 void SetOutputSymbols(const SymbolTable* osyms) { argument
655 osymbols_ = osyms ? osyms->Copy() : 0;
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dverify.h36 const SymbolTable *osyms = fst.OutputSymbols(); local
76 } else if (osyms && osyms->Find(arc.olabel) == "") {
80 << osyms->Name() << "\"";
H A Dfst.h444 void SetOutputSymbols(const SymbolTable* osyms) { argument
446 osymbols_ = osyms ? osyms->Copy() : 0;
H A Dmutable-fst.h66 virtual void SetOutputSymbols(const SymbolTable* osyms) = 0;
H A Dvector-fst.h623 virtual void SetOutputSymbols(const SymbolTable* osyms) { argument
625 impl_->SetOutputSymbols(osyms);

Completed in 487 milliseconds