76b0cbd34fc323aae762ca0a47da1b581d2d9979
[platform/upstream/openfst.git] / src / bin / fstinfo.cc
1 // See www.openfst.org for extensive documentation on this weighted
2 // finite-state transducer library.
3
4 #include <fst/flags.h>
5
6 DEFINE_string(arc_filter, "any",
7               "Arc filter: one of:"
8               "connected states, and (strongly) connected components");
9 DEFINE_string(info_type, "auto",
10               "Info format: one of: \"auto\", \"long\", \"short\"");
11 DEFINE_bool(pipe, false, "Send info to stderr, input to stdout");
12 DEFINE_bool(test_properties, true,
13             "Compute property values (if unknown to FST)");
14 DEFINE_bool(fst_verify, true, "Verify FST sanity");
15
16 int fstinfo_main(int argc, char **argv);
17
18 int main(int argc, char **argv) { return fstinfo_main(argc, argv); }