32 const SymbolTable *ssyms,
bool accept,
bool show_weight_one,
33 const std::string &missing_sym) {
34 const auto sep = FST_FLAGS_fst_field_separator.substr(0, 1);
35 FstPrintArgs args{fst, isyms, osyms, ssyms, accept, show_weight_one,
36 ostrm, dest, sep, missing_sym};
37 Apply<Operation<FstPrintArgs>>(
"Print", fst.
ArcType(), &args);
43 const SymbolTable *ssyms,
bool accept,
bool show_weight_one,
44 const std::string &missing_sym) {
45 Print(fst, ostrm, dest, isyms, osyms, ssyms, accept, show_weight_one,
REGISTER_FST_OPERATION_3ARCS(Compress, CompressArgs)
const std::string & ArcType() const final
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(FstPrintArgs *args)