18 #ifndef FST_SCRIPT_PRINT_H_ 19 #define FST_SCRIPT_PRINT_H_ 45 const std::string &
sep;
55 fstprinter.Print(args->
ostrm, args->
dest);
65 void PrintFst(
const FstClass &fst, std::ostream &ostrm,
const std::string &dest,
68 const std::string &missing_sym =
"");
74 const std::string &dest =
"",
const SymbolTable *isyms =
nullptr,
77 const std::string
sep = FST_FLAGS_fst_field_separator.substr(0, 1);
79 fstprinter.
Print(ostrm, dest);
85 #endif // FST_SCRIPT_PRINT_H_
const Fst< Arc > * GetFst() const
const SymbolTable * osyms
const bool show_weight_one
void PrintFst(const FstClass &fst, std::ostream &ostrm, const std::string &dest, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accept, bool show_weight_one, const std::string &missing_sym="")
void Print(std::ostream &ostrm, const std::string &dest)
const std::string & missing_symbol
const SymbolTable * isyms
DECLARE_string(fst_field_separator)
void Print(FstPrintArgs *args)
const SymbolTable * ssyms