Imported Upstream version 1.6.6
[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               " \"any\", \"epsilon\", \"iepsilon\", \"oepsilon\"; "
9               "this only affects the counts of (co)accessible states, "
10               "connected states, and (strongly) connected components");
11 DEFINE_string(info_type, "auto",
12               "Info format: one of: \"auto\", \"long\", \"short\"");
13 DEFINE_bool(pipe, false, "Send info to stderr, input to stdout");
14 DEFINE_bool(test_properties, true,
15             "Compute property values (if unknown to FST)");
16 DEFINE_bool(fst_verify, true, "Verify FST sanity");
17
18 int fstinfo_main(int argc, char **argv);
19
20 int main(int argc, char **argv) { return fstinfo_main(argc, argv); }