FST  openfst-1.7.1
OpenFst Library
fstdeterminize.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/fst.h>
6 #include <fst/weight.h>
7 
8 DEFINE_double(delta, fst::kDelta, "Comparison/quantization delta");
9 DEFINE_string(weight, "", "Weight threshold");
10 DEFINE_int64(nstate, fst::kNoStateId, "State number threshold");
11 DEFINE_int64(subsequential_label, 0,
12  "Input label of arc corresponding to residual final output when"
13  " producing a subsequential transducer");
14 DEFINE_string(det_type, "functional",
15  "Type of determinization: \"functional\", "
16  "\"nonfunctional\", \"disambiguate\"");
17 DEFINE_bool(increment_subsequential_label, false,
18  "Increment subsequential_label to obtain distinct labels for "
19  " subsequential arcs at a given state");
20 
21 int fstdeterminize_main(int argc, char **argv);
22 
23 int main(int argc, char **argv) { return fstdeterminize_main(argc, argv); }
int fstdeterminize_main(int argc, char **argv)
constexpr int kNoStateId
Definition: fst.h:180
int main(int argc, char **argv)
DEFINE_int64(nstate, fst::kNoStateId,"State number threshold")
DEFINE_bool(increment_subsequential_label, false,"Increment subsequential_label to obtain distinct labels for "" subsequential arcs at a given state")
constexpr float kDelta
Definition: weight.h:109
DEFINE_double(delta, fst::kDelta,"Comparison/quantization delta")
DEFINE_string(weight,"","Weight threshold")