FST  openfst-1.7.3
OpenFst Library
fstreplace.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 
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?");
14 
15 int fstreplace_main(int argc, char **argv);
16 
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")
DEFINE_string(call_arc_labeling,"input","Which labels to make non-epsilon on the call arc. ""One of: \"input\" (default), \"output\", \"both\", \"neither\"")
int fstreplace_main(int argc, char **argv)
int main(int argc, char **argv)
Definition: fstreplace.cc:17