FST  openfst-1.7.9
OpenFst Library
fstmap.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 <fst/flags.h>
5 #include <fst/weight.h>
6 
7 DEFINE_double(delta, fst::kDelta, "Comparison/quantization delta");
9  map_type, "identity",
10  "Map operation: one of \"arc_sum\", \"arc_unique\", "
11  "\"identity\", \"input_epsilon\", \"invert\", \"output_epsilon\", "
12  "\"plus (--weight)\", \"power (--power)\", \"quantize (--delta)\", "
13  "\"rmweight\", \"superfinal\", \"times (--weight)\", "
14  "\"to_log\", \"to_log64\", \"to_std\"");
15 DEFINE_double(power, 1.0, "Power parameter");
16 DEFINE_string(weight, "", "Weight parameter");
17 
18 int fstmap_main(int argc, char **argv);
19 
20 int main(int argc, char **argv) { return fstmap_main(argc, argv); }
DEFINE_string(map_type,"identity","Map operation: one of \"arc_sum\", \"arc_unique\", ""\"identity\", \"input_epsilon\", \"invert\", \"output_epsilon\", ""\"plus (--weight)\", \"power (--power)\", \"quantize (--delta)\", ""\"rmweight\", \"superfinal\", \"times (--weight)\", ""\"to_log\", \"to_log64\", \"to_std\"")
int fstmap_main(int argc, char **argv)
Definition: fstmap-main.cc:20
DEFINE_double(delta, fst::kDelta,"Comparison/quantization delta")
int main(int argc, char **argv)
Definition: fstmap.cc:20
constexpr float kDelta
Definition: weight.h:110