FST  openfst-1.7.3
OpenFst Library
fstpush.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");
8 DEFINE_bool(push_weights, false, "Push weights");
9 DEFINE_bool(push_labels, false, "Push output labels");
10 DEFINE_bool(remove_total_weight, false,
11  "Remove total weight when pushing weights");
12 DEFINE_bool(remove_common_affix, false,
13  "Remove common prefix/suffix when pushing labels");
14 DEFINE_bool(to_final, false, "Push/reweight to final (vs. to initial) states");
15 
16 int fstpush_main(int argc, char **argv);
17 
18 int main(int argc, char **argv) { return fstpush_main(argc, argv); }
int main(int argc, char **argv)
Definition: fstpush.cc:18
int fstpush_main(int argc, char **argv)
Definition: fstpush-main.cc:22
DEFINE_double(delta, fst::kDelta,"Comparison/quantization delta")
DEFINE_bool(push_weights, false,"Push weights")
constexpr float kDelta
Definition: weight.h:109