FST  openfst-1.6.1
OpenFst Library
info.cc
Go to the documentation of this file.
1 // See www.openfst.org for extensive documentation on this weighted
2 // finite-state transducer library.
3 
4 #include <string>
5 
6 #include <fst/script/fst-class.h>
7 #include <fst/script/info.h>
9 
10 namespace fst {
11 namespace script {
12 
13 void PrintFstInfo(const FstClass &fst, bool test_properties,
14  const string &arc_filter, const string &info_type, bool pipe,
15  bool verify) {
16  InfoArgs args(fst, test_properties, arc_filter, info_type, pipe, verify);
17  Apply<Operation<InfoArgs>>("PrintFstInfo", fst.ArcType(), &args);
18 }
19 
23 
24 } // namespace script
25 } // namespace fst
const string & ArcType() const override
Definition: fst-class.h:289
REGISTER_FST_OPERATION(Compress, StdArc, CompressArgs)
void PrintFstInfo(InfoArgs *args)
Definition: info.h:18