29 const SymbolTable *ssyms,
bool accept,
bool show_weight_one,
30 const std::string &missing_sym) {
31 const auto sep = FST_FLAGS_fst_field_separator.substr(0, 1);
32 FstPrintArgs args{fst, isyms, osyms, ssyms, accept, show_weight_one,
33 ostrm, dest, sep, missing_sym};
34 Apply<Operation<FstPrintArgs>>(
"Print", fst.
ArcType(), &args);
40 const SymbolTable *ssyms,
bool accept,
bool show_weight_one,
41 const std::string &missing_sym) {
42 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)