FST  openfst-1.7.3
OpenFst Library
pdtshortestpath.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 // Returns the shortest path in a (bounded-stack) PDT.
5 
6 #include <fst/flags.h>
7 
8 DEFINE_bool(keep_parentheses, false, "Keep PDT parentheses in result?");
9 DEFINE_string(queue_type, "fifo",
10  "Queue type: one of: "
11  "\"fifo\", \"lifo\", \"state\"");
12 DEFINE_bool(path_gc, true, "Garbage collect shortest path data?");
13 DEFINE_string(pdt_parentheses, "", "PDT parenthesis label pairs");
14 
15 int pdtshortestpath_main(int argc, char **argv);
16 
17 int main(int argc, char **argv) { return pdtshortestpath_main(argc, argv); }
DEFINE_string(queue_type,"fifo","Queue type: one of: ""\"fifo\", \"lifo\", \"state\"")
int pdtshortestpath_main(int argc, char **argv)
int main(int argc, char **argv)
DEFINE_bool(keep_parentheses, false,"Keep PDT parentheses in result?")