Imported Upstream version 1.6.6
[platform/upstream/openfst.git] / src / bin / fstmap.cc
1 // See www.openfst.org for extensive documentation on this weighted
2 // finite-state transducer library.
3
4 #include <fst/flags.h>
5 #include <fst/weight.h>
6
7 DEFINE_double(delta, fst::kDelta, "Comparison/quantization delta");
8 DEFINE_string(map_type, "identity",
9               "Map operation, one of: \"arc_sum\", \"arc_unique\", "
10               "\"identity\", \"input_epsilon\", \"invert\", "
11               "\"output_epsilon\", \"plus (--weight)\", "
12               "\"quantize (--delta)\", \"rmweight\", \"superfinal\", "
13               "\"times (--weight)\", \"to_log\", \"to_log64\", \"to_std\"");
14 DEFINE_string(weight, "", "Weight parameter");
15
16 int fstmap_main(int argc, char **argv);
17
18 int main(int argc, char **argv) { return fstmap_main(argc, argv); }