FST  openfst-1.7.9
OpenFst Library
Go to the documentation of this file.
1 // See www.openfst.org for extensive documentation on this weighted
2 // finite-state transducer library.
4 #include <fst/flags.h>
6 DEFINE_string(call_arc_labeling, "input",
7  "Which labels to make non-epsilon on the call arc: "
8  "one of: \"input\" (default), \"output\", \"both\", \"neither\"");
9 DEFINE_string(return_arc_labeling, "neither",
10  "Which labels to make non-epsilon on the return arc: "
11  "one of: \"input\", \"output\", \"both\", \"neither\" (default)");
12 DEFINE_int64(return_label, 0, "Label to put on return arc");
13 DEFINE_bool(epsilon_on_replace, false, "Call/return arcs are epsilon arcs?");
15 int fstreplace_main(int argc, char **argv);
17 int main(int argc, char **argv) { return fstreplace_main(argc, argv); }
DEFINE_bool(epsilon_on_replace, false,"Call/return arcs are epsilon arcs?")
DEFINE_int64(return_label, 0,"Label to put on return arc")
int fstreplace_main(int argc, char **argv)
int main(int argc, char **argv)
Definition: fstreplace.cc:17
DEFINE_string(call_arc_labeling,"input","Which labels to make non-epsilon on the call arc: ""one of: \"input\" (default), \"output\", \"both\", \"neither\"")