28 void Compile(std::istream &istrm,
const std::string &source,
29 const std::string &dest,
const std::string &fst_type,
30 const std::string &arc_type,
const SymbolTable *isyms,
32 bool ikeep,
bool okeep,
bool nkeep,
bool allow_negative_labels) {
33 std::unique_ptr<FstClass>
fst(
35 accep, ikeep, okeep, nkeep, allow_negative_labels));
40 std::istream &istrm,
const std::string &source,
const std::string &fst_type,
41 const std::string &arc_type,
const SymbolTable *isyms,
43 bool okeep,
bool nkeep,
bool allow_negative_labels) {
54 allow_negative_labels};
56 Apply<Operation<FstCompileArgs>>(
"CompileInternal", arc_type, &args);
57 return std::move(args.
retval);
void Compile(std::istream &istrm, const std::string &source, const std::string &dest, const std::string &fst_type, const std::string &arc_type, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, bool ikeep, bool okeep, bool nkeep, bool allow_negative_labels)
REGISTER_FST_OPERATION_3ARCS(Compress, CompressArgs)
void CompileInternal(FstCompileArgs *args)